Phaser API Documentation

  Version: 
stop(key, [data])

Description:

Stops the given Scene.

Parameters:

name type arguments description
key string | Phaser.Scene

The Scene to stop.

data object <optional>

Optional data object to pass to Scene.shutdown.

Returns:
Description:

This Scene Manager instance.

Since: 3.0.0