Phaser API Documentation

  Version: 
moveBelow(keyA, keyB)

Description:

Moves a Scene so it is immediately below another Scene in the Scenes list. If the Scene is already below the other, it isn't moved.

This means it will render behind the other Scene.

Parameters:

name type description
keyA string | Phaser.Scene

The Scene that Scene B will be moved below.

keyB string | Phaser.Scene

The Scene to be moved.

Returns:
Description:

This Scene Manager instance.

Since: 3.2.0