IsKeyPressed

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
 
Line 1: Line 1:
 
{{lua-function|isKeyPressed|key}}
 
{{lua-function|isKeyPressed|key}}
  
Return a boolean value that says if a key is pressed.
+
Return a boolean value that says if a key is pressed.  
You can find key constants [http://wiki.maratis3d.org/index.php?title=Keys here]
+
 
 +
{{lua-function-param|key|[[Keys|key]] constant}}
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 
[[Category:Lua function]]
 
[[Category:Lua function]]
 
[[Category:Input]]
 
[[Category:Input]]

Latest revision as of 18:57, 8 February 2014

isKeyPressed(key)

Return a boolean value that says if a key is pressed.

  • key : key constant
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox