This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:keypressed [2016/05/12 20:24] admin |
en:keypressed [2016/08/12 13:07] admin |
||
---|---|---|---|
Line 3: | Line 3: | ||
==== Format ==== | ==== Format ==== | ||
- | **keypressed** ( // | + | **keypressed** ( [[expressions|expression]] |
- | return | + | return |
==== Description ==== | ==== Description ==== | ||
Line 11: | Line 11: | ||
The KeyPressed function returns a true or false value if a key is currently pressed, or returns the number of keys that are currently being pressed. | The KeyPressed function returns a true or false value if a key is currently pressed, or returns the number of keys that are currently being pressed. | ||
+ | See the [[Key|key]] function for a list of common key codes or see [[http:// | ||
==== Example ==== | ==== Example ==== |