Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Scenes.SceneManager
getScene(key)
Description:
Retrieves a Scene.
Parameters:
name
type
description
key
string |
Phaser.Scene
The Scene to retrieve.
Returns:
Description:
The Scene.
Type:
Phaser.Scene
Since:
3.0.0
Source:
src/scene/SceneManager.js
(Line
867
)
Possible examples