Moves a Game Object above another one within this Container. If the Game Object is already above the other, it isn't moved.
These 2 Game Objects must already be children of this Container.
name | type | description |
---|---|---|
child1 | Phaser.GameObjects.GameObject |
The Game Object to move above base Game Object. |
child2 | Phaser.GameObjects.GameObject |
The base Game Object. |
This Container instance.