Phaser API Documentation

  Version: 
isVisible([key])

Description:

Checks if the given Scene is visible or not?

Parameters:

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

The Scene to check.

Returns:
Description:

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

Type:
  • boolean
Since: 3.0.0
Source: src/scene/ScenePlugin.js (Line 742)