Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Group.remove(child) throwing error if child isn't a member of the group


IndenturedSmile
 Share

Recommended Posts

If I try to remove a child from a Phaser.Group that doesn't exist in that group I get a "Supplied index does not exist in the child list, or the supplied DisplayObject must be a child of the caller" error. This is a PIXI error from DisplayObjectContainer.removeChild().

 

Is this the desired behavior for Phaser.Group? If not, I can open an issue on Github.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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