A method of controlling an additive manufacturing process in which a directed energy source is used to selectively fuse powdered material to form a workpiece, in the presence of a gas flow, the method including: using at least one gas flow sensor to generate at least one gas flow measurement; and controlling at least one aspect of the additive manufacturing process in response to the at least one gas flow measurement.