Phaser API Documentation

  Version: 
Event: ADDED_TO_SCENE
Phaser.Scenes.Events.ADDED_TO_SCENE
ADDED_TO_SCENE

Description:

The Game Object Added to Scene Event.

This event is dispatched when a Game Object is added to a Scene.

Listen for it from a Scene using this.events.on('addedtoscene', listener).

Parameters:

name type description
gameObject Phaser.GameObjects.GameObject

The Game Object that was added to the Scene.

scene Phaser.Scene

The Scene to which the Game Object was added.

Since: 3.50.0