Hi, Ive searched the forums and couldnt find anything on this.
I am trying to find a way to determine if an arrow key has been hit, not "pressed down" and not "released"
In other words im not looking for KeyboardPushed, or KeyboardReleased.... I wish there was a KeyboardHit.
How can I simulate this for the arrow keys? The moment an arrow key is hit, i want a value to change but not continuously change if the user holds the key down.
Check for a key hit
Re: Check for a key hit
Hi lucid
Could you do this?
Create a variable you use as a flag.
If key pushed (arrow key) and flag is 0, then set flag to 1 and change the value you want to change.
If key released set flag to 0
Otherwise do nothing.
Could you do this?
Create a variable you use as a flag.
If key pushed (arrow key) and flag is 0, then set flag to 1 and change the value you want to change.
If key released set flag to 0
Otherwise do nothing.
@}--`--,-- A rose by any other name ..