Input#enabled

enabled : boolean

When enabled, input (eg. Keyboard, Mouse, Touch) will be processed - as long as the individual sources are enabled themselves.

When not enabled, all input sources are ignored. To disable just one type of input; for example, the Mouse, use input.mouse.enabled = false.

Default Value
  • true
Source code: input/Input.js (Line 67)
doc_phaser
2017-02-14 10:52:46
Comments
Leave a Comment

Please login to continue.