HI! I'm making a somewhat "test your might" esque game (If you've ever played Mortal Kombat) But I can't seem to make it so that when the spacebar is pressed, the cursor stops moving.
Basically, there is a cursor moving up and down a meter. The meter has different colors and what ever color the cursor lands on will determine something else in my game. I just need to know ho to make something stop immediately after you press a key.
Thank you!
Offline