Phaser API Documentation

  Version: 
isActive(key)

Description:

Checks if the given global plugin, based on its key, is active or not.

Parameters:

name type description
key string

The unique plugin key.

Returns:
Description:

true if the plugin is active, otherwise false.

Type:
  • boolean
Examples:
Since: 3.8.0