Difference between revisions of "Lua:isKeyPressed"

From Cheat Engine
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…')
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' isKeyPressed(''key'')
 
'''function''' isKeyPressed(''key'')
  
Line 15: Line 16:
  
  
== See also ==
+
{{LuaSeeAlso}}
 
* [[Virtual-Key Code]]
 
* [[Virtual-Key Code]]
* [[Lua]]
 

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


See also[edit]