Difference between revisions of "Lua:isKeyPressed"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
− | == | + | {{LuaSeeAlso}} |
+ | |||
+ | === Related Functions === | ||
* [[Virtual-Key Code]] | * [[Virtual-Key Code]] | ||
− |
Revision as of 21:40, 19 March 2017
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 |