Phaser API Documentation

  Version: 
isPaused([key])

Description:

Checks if the given Scene is paused or not?

Parameters:

name type arguments description
key string | Phaser.Scene <optional>

The Scene to check.

Returns:
Description:

Whether the Scene is paused, or null if no matching Scene was found.

Type:
  • boolean
Since: 3.17.0
Source: src/scene/ScenePlugin.js (Line 725)