IsKeyPressed
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) 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. |
− | + | ||
+ | {{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 19:57, 8 February 2014
isKeyPressed(key)
Return a boolean value that says if a key is pressed.
-
key
: key constant