Phaser API Documentation

  Version: 
moveAbove(keyA, keyB)

Description:

Moves a Scene so it is immediately above another Scene in the Scenes list.

This means it will render over the top of the other Scene.

Parameters:

name type description
keyA string | Phaser.Scene

The Scene that Scene B will be moved above.

keyB string | Phaser.Scene

The Scene to be moved.

Returns:
Description:

This Scene Manager instance.

Since: 3.2.0