OnKeyUp

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Returns "true" once the key is released. spaceUp = onKeyUp("SPACE") You can find key constants [http://wiki.maratis3d.org/index.php?title=Keys here]")
 
m
 
(3 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")
  
 
You can find key constants [http://wiki.maratis3d.org/index.php?title=Keys here]
 
You can find key constants [http://wiki.maratis3d.org/index.php?title=Keys here]
 +
 +
[[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