KeyDown
Category: Input
Signature
KeyDown(keyCode As Integer)
Returns
Boolean
Description
Returns True while the specified key is currently pressed.
The keyCode argument should be a value from Keyboard Constants.
Use KeyHit when you want a single-frame press event instead of a held-down state.
Example
If KeyDown(KEY_ESC) Then
End
End If