OnKeyUp

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{lua-function|onKeyUp|key}}
 +
 
Returns "true" once the key is released.
 
Returns "true" once the key is released.
 +
 +
{{lua-function-param|key|[[Keys|key]] constant}}
  
 
  spaceUp = onKeyUp("SPACE")
 
  spaceUp = onKeyUp("SPACE")
Line 6: Line 10:
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:Input]]

Latest revision as of 19:58, 8 February 2014

onKeyUp(key)

Returns "true" once the key is released.

  • key : key constant
spaceUp = onKeyUp("SPACE")

You can find key constants here

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox