lovr.system.isKeyDown
EditReturns whether a key on the keyboard is pressed.
down = lovr.system.isKeyDown(...)
Arguments
Name | Type | Description |
... | KeyCode | The set of keys to check. |
Returns
Name | Type | Description |
down | boolean | Whether any of the keys are currently pressed. |