Phaser API Documentation

  Version: 
pause(key, [data])

Description:

Pauses the given Scene.

Parameters:

name type arguments description
key string

The Scene to pause.

data object <optional>

An optional data object that will be passed to the Scene and emitted by its pause event.

Returns:
Description:

This SceneManager.

Since: 3.0.0