Returns the index of the given Game Object in this Container.
name | type | description |
---|---|---|
child | Phaser.GameObjects.GameObject |
The Game Object to search for in this Container. |
The index of the Game Object in this Container, or -1 if not found.