Select all of groups children in update function

I have an overlap set with my player and a group. Each group member will change tint and disableBody when the overlap occurs. no problem.

I also want to also set it so that when player enters a certain area of the game all of those group members will revert back.

The problem is I cannot figure out how to target the group from the update function. I keep getting ‘cannot *** of undefined’ I understand why this is happening but cannot find any documentation on how to target the whole group from the function update().

Like this? http://labs.phaser.io/edit.html?src=src\game%20objects\group\destroy%20child.js

1 Like

I had already tried this with tint and it didn’t work. But I had it commented out and removed the comments and suddenly working. Argh! Thanks.

But I still need a solution to reenabling the body.