Phaser API Documentation

  Version: 
bringToTop(key)

Description:

Brings a Scene to the top of the Scenes list.

This means it will render above all other Scenes.

Parameters:

name type description
key string | Phaser.Scene

The Scene to move.

Returns:
Description:

This SceneManager.

Since: 3.0.0