lovr.system.isKeyDown
EditReturns whether a key on the keyboard is pressed.
down = lovr.system.isKeyDown(key)
Arguments
Name | Type | Description |
key | KeyCode | The key. |
Returns
Name | Type | Description |
down | boolean | Whether the key is currently pressed. |
See also
lovr.system