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
when gf clicked point in direction [0] repeat until <key [space] pressed?> move 10 steps if <touching [end of meter]> turn [180] degrees end end do the rest of the stuff
Offline