Difference between revisions of "Lua:isKeyPressed"
Jump to navigation
Jump to search
m (moved isKeyPressed to Lua:isKeyPressed) |
|||
Line 17: | Line 17: | ||
{{LuaSeeAlso}} | {{LuaSeeAlso}} | ||
− | |||
− | |||
* [[Virtual-Key Code]] | * [[Virtual-Key Code]] |
Latest revision as of 00:51, 25 January 2018
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 |