UInputMan:WhichKeyHeld

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search

Latest revision as of 16:44, 7 October 2009

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.