UInputMan:WhichKeyHeld

From Data Realms Wiki

Revision as of 16:44, 7 October 2009 by DrLuke (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
SyntaxUInputMan:WhichKeyHeld( )
Description:
Returns the key value of the key being held down. See the Keylist for the keys' numbers.
ReturnsNumber




Example
DescriptionReturns the value of the held key.
Code
  1. print(UInputMan:WhichKeyHeld())
OutputPrints number corresponding to the key held. Hangs until keypress if no key is held.
Personal tools