How do you slam down on people?

Hey, I was wondering how people do the move where they stop in the air, and then slam down on somebody. Is it just aim in the air, and melee?

While you’re in midair, hold down your melee button to use your Ground Pound.