footstep sound affect in the air

so in my 2d platformer whenever my running animation plays and I’m pressing the movement controls, the footstep sound will play which is good. But I don’t want it to play when I’m not touching the ground, or in the air.

@DanielDeveloper2009, you can tag all things you want to be ground or anything that is walkable and add a collider to the feet of your player then make it so that when your feet collider collides with the “ground” objects, it plays the walk sound.