Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Input   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • Input
  • All Members
  • Class Variables
  • anyKey
  • anyKeyDown
  • inputString
  • mousePosition
  • Class Functions
  • GetAxis
  • GetAxisRaw
  • GetButton
  • GetButtonDown
  • GetButtonUp
  • GetJoystickNames
  • GetKey
  • GetKeyDown
  • GetKeyUp
  • GetMouseButton
  • GetMouseButtonDown
  • GetMouseButtonUp
  • ResetInputAxes

Input.anyKeyDown  

static var anyKeyDown : bool

Description

Returns true the first frame the user hits any key or mouse button (Read Only).

It will not return true until the user has released all keys / buttons and pressed any key / buttons again.