Phaser API Documentation

  Version: 
<private> getKey(key, sceneConfig)

Description:

Retrieves the key of a Scene from a Scene config.

Parameters:

name type description
key string

The key to check in the Scene config.

sceneConfig function | Phaser.Scene | Phaser.Types.Scenes.SettingsConfig

The Scene config.

Returns:
Description:

The Scene key.

Type:
  • string
Since: 3.0.0