Difference between revisions of "Lua:keyDown"

From Cheat Engine
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 17: Line 17:
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
 +
* [[Virtual-Key Code]]
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[keyUp]]
+
* [[Lua:keyUp|keyUp]]
* [[Virtual-Key Code]]
 

Revision as of 00:51, 25 January 2018

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

Parameter Type Description
key Virtual-Key Code The keycode for the key to set down


See also

Related Functions