Phaser API Documentation

  Version: 
isSleeping(key)

Description:

Determines whether a Scene is sleeping.

Parameters:

name type description
key string

The Scene to check.

Returns:
Description:

Whether the Scene is sleeping.

Type:
  • boolean
Since: 3.0.0