KiloGram Posted April 11, 2018 Share Posted April 11, 2018 How would you move all the objects in a group to the bottom of the depth-sorting stack? Also, what is the easiest way to select a specific group object to manipulate it? Link to comment Share on other sites More sharing options...
samme Posted April 11, 2018 Share Posted April 11, 2018 https://photonstorm.github.io/phaser3-docs/Phaser.GameObjects.Group.html#setDepth Save a reference to it, or (for random access) use group.children.get('name', 'NAME'); Link to comment Share on other sites More sharing options...
KiloGram Posted April 11, 2018 Author Share Posted April 11, 2018 Thanks and, How do I set a name to an object in a group? Link to comment Share on other sites More sharing options...
Recommended Posts