Phaser API Documentation

  Version: 
isActive(key)

Description:

Determines whether a Scene is running.

Parameters:

name type description
key string | Phaser.Scene

The Scene to check.

Returns:
Description:

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

Type:
  • boolean
Since: 3.0.0