Phaser API Documentation

  Version: 
pause(key, [data])

Description:

Pauses the given Scene.

Parameters:

name type arguments description
key string | Phaser.Scene

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 Scene Manager instance.

Since: 3.0.0