Phaser API Documentation

  Version: 
moveBelow(child1, child2)

Description:

Moves a Game Object below another one within this Container.

These 2 Game Objects must already be children of this Container.

Parameters:

name type description
child1 Phaser.GameObjects.GameObject

The Game Object to move below base Game Object.

child2 Phaser.GameObjects.GameObject

The base Game Object.

Returns:
Description:

This Container instance.

Examples:
Since: 3.55.0