Teach me the removal hat method

So, I’ve seen so many screen shots of the engineer and the solider with their hats removed, and the engineer has no goggles. So, how exactly do you do this?

Models