Jump to content

Disable Input for whole Group


Tom Atom
 Share

Recommended Posts

Hi, is there way how to disable input for whole Phaser.Group in Phaser 2.2.3? Or is the only way to iterate through all group members one by one and in case of nested groups do it recursively?

 

In Phaser 2.2.2 I found propery "interactive" in pixi/display/DisplayObject.js. In Phaser 2.2.3 this property is still in Typescript definition file (pixi.d.ts), but it is missing in pixi/display/DisplayObject.js source code.

 

Link to comment
Share on other sites

Groups don't have any input handlers at all, so you have to disable it on the children. It's always been like this - the "interactive" property came from Pixi, but Phaser has never actually used it. We recently removed it when we moved to a custom build of Pixi as it was causing confusion (like this)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...