Mojo input keyboarddevice keydown
mojo:mojo.input.KeyboardDevice.KeyDown
Method KeyDown:Bool( key:Key )#
Checks the current up/down state of a key.
Returns true if key
is currently held down.
If key
is a raw key, the state of the key as it is physically positioned on US keyboards is returned.
Parameters | |
---|---|
key |
key Key to check. |