Difference between revisions of "Lua:isKeyPressed"
Jump to navigation
Jump to search
(Created page with ''''function''' isKeyPressed(''key'') Returns true if the given keycode is valid and pressed down ===Function Parameters=== {|width="85%" cellpadding="10%" cellpadding="5%" cell…') |
(No difference)
|
Revision as of 13:40, 3 March 2012
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 |