Lua:isKeyPressed
Revision as of 13:23, 19 March 2017 by TheyCallMeTim13 (talk | contribs)
function isKeyPressed(key)
Returns true if the given keycode is valid and pressed down
Function Parameters
Parameter | Type | Description |
---|---|---|
key | Virtual-Key Code | The keycode for the key to test |