Phaser API Documentation

  Version: 
swapPosition(keyA, keyB)

Description:

Swaps the positions of two Scenes in the Scenes list.

Parameters:

name type description
keyA string | Phaser.Scene

The first Scene to swap.

keyB string | Phaser.Scene

The second Scene to swap.

Returns:
Description:

This Scene Manager instance.

Since: 3.0.0