Moves a Scene so it is immediately above another Scene in the Scenes list. If the Scene is already above the other, it isn't moved.
This means it will render over the top of the other Scene.
name | type | arguments | description |
---|---|---|---|
keyA | string | Phaser.Scene |
The Scene that Scene B will be moved to be above. |
|
keyB | string | Phaser.Scene | <optional> |
The Scene to be moved. If none is given it defaults to this Scene. |
This Scene Plugin instance.