IsKeyPressed
From MaratisWiki
(Difference between revisions)
m |
Dahnielson (Talk | contribs) m |
||
| (4 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | Return a boolean value that says if a key is pressed. | + | {{lua-function|isKeyPressed|key}} |
| − | + | ||
| + | Return a boolean value that says if a key is pressed. | ||
| + | |||
| + | {{lua-function-param|key|[[Keys|key]] constant}} | ||
| + | |||
| + | [[Category:Lua scripting]] | ||
| + | [[Category:Lua function]] | ||
| + | [[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