I'm new to C2, I just started to mess around to learn it, so far I mad what I like but I ran into a problem that I don't know how to solve.
I've created an event when a button pressed it changes to JUMP animation and play a sound, same goes for the SHOOT animation. (different button of course).
The problem is:
When I press UP the character will jump once and land which is great, but while in the air... if I click many times the sound will play many times.
I want it to play only ONCE when I jump, or when I shoot so even if I'll press UP many times in a raw it will play the "jumping sound" only once.
Sorry about my bad English and thanks ahead for the help!