Lua:keyDown
Revision as of 00:51, 25 January 2018 by TheyCallMeTim13 (talk | contribs)
function keyDown(key)
Sets the key to the down state. Toggling between down and up can be used to type strings. And holding down can also be used to drag stuff. (Like the left mouse button down)
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
key | Virtual-Key Code | The keycode for the key to set down |