Phaser API Documentation

  Version: 
stop(key, [data])

Description:

Stops the given Scene.

Parameters:

name type arguments description
key string

The Scene to stop.

data object <optional>

Optional data object to pass to Scene.shutdown.

Returns:
Description:

This SceneManager.

Since: 3.0.0