Input.eatKeyPressOnTextFieldFocus Manual     Reference     Scripting  
Scripting > Runtime Classes > Input
Input.eatKeyPressOnTextFieldFocus

static var eatKeyPressOnTextFieldFocus : boolean

Description

Property indicating whether keypresses are eaten by a textinput if it has focus (default true).

This will avoid keypresses seeping through to the underlying gameview. This property must be set to false for anyKey or GetKey to work while a textfield has focus.