Phaser API Documentation

  Version: 
start(key, [data])

Description:

Starts the given Scene, if it is not starting, loading, or creating.

If the Scene is running, paused, or sleeping, it will be shutdown and then started.

Parameters:

name type arguments description
key string | Phaser.Scene

The Scene to start.

data object <optional>

Optional data object to pass to Scene.Settings and Scene.init, and Scene.create.

Returns:
Description:

This Scene Manager instance.

Since: 3.0.0