Phaser API Documentation

  Version: 
Event: REMOVED_FROM_SCENE
Phaser.Scenes.Events.REMOVED_FROM_SCENE
REMOVED_FROM_SCENE

Description:

The Game Object Removed from Scene Event.

This event is dispatched when a Game Object is removed from a Scene.

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

Parameters:

name type description
gameObject Phaser.GameObjects.GameObject

The Game Object that was removed from the Scene.

scene Phaser.Scene

The Scene from which the Game Object was removed.

Since: 3.50.0