UInputMan:KeyPressed
From Data Realms Wiki
Function | |
---|---|
Syntax | UInputMan:KeyPressed( Number ) |
Description: | |
If a key has been pressed that sim update the function returns true, else the function returns false. See the Keylist for the keys' numbers. | |
Returns | Boolean |
Example | |
---|---|
Description | Prints whether a key has been pressed or not. |
Code | |
Output | 1 if "W" has been pressed, 0 if not. |