We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e050c39 commit 8c5cea0Copy full SHA for 8c5cea0
1 file changed
src/gameobjects/components/InputEnabled.js
@@ -32,6 +32,10 @@ Phaser.Component.InputEnabled.prototype = {
32
* Note that Input related events are dispatched from `this.events`, i.e.: `events.onInputDown`.
33
*
34
* If you set this property to false it will stop the Input Handler from processing any more input events.
35
+ *
36
+ * If you want to _temporarily_ disable input for a Game Object, then it's better to set
37
+ * `input.enabled = false`, as it won't reset any of the Input Handlers internal properties.
38
+ * You can then toggle this back on as needed.
39
40
* @property {boolean} inputEnabled
41
*/
0 commit comments