Difference between revisions of "Lua:keyDown"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''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 …')
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' keyDown(''key'')
 
'''function''' keyDown(''key'')
  
Line 15: Line 16:
  
  
== See also ==
+
{{LuaSeeAlso}}
* [[keyUp]]
 
 
* [[Virtual-Key Code]]
 
* [[Virtual-Key Code]]
* [[Lua]]
+
 
 +
=== Related Functions ===
 +
* [[Lua:keyUp|keyUp]]

Latest 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[edit]

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


See also[edit]

Related Functions[edit]