I’m making a side scrolling platformer and I want there to be a sound that plays when the player jumps. The problem is that even while in mid air, if the player keeps pressing the jump button, it keeps playing the sound.
I only want it to play the sound if the jump is actually happening, not just when the button is pressed