Lua:isKeyPressed
(Redirected from isKeyPressed)
Jump to navigation
Jump to search
function isKeyPressed(key)
Returns true if the given keycode is valid and pressed down
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
key | Virtual-Key Code | The keycode for the key to test |