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 arguments description
key string | Phaser.Scene <optional>

The Scene to move.

Returns:
Description:

This Scene Plugin instance.

Since: 3.0.0
Source: src/scene/ScenePlugin.js (Line 897)