UInputMan:KeyHeld
From Data Realms Wiki
(Difference between revisions)
Latest revision as of 16:30, 7 October 2009
Function | |
---|---|
Syntax | UInputMan:KeyHeld( Number ) |
Description: | |
Returns the true or false to a key being held down. See the Keylist for the keys' numbers. | |
Returns | Boolean |
Example | |
---|---|
Description | Prints whether a key is being held down or not. |
Code | |
Output | 1 if "W" is held down, 0 if not. |