show

Type Event
Dispatch chain Scene
Revision 2017.3060
Keywords composer, scene, show, event
See also composer.*
composer.gotoScene()
composer.showOverlay()

Overview

This event is dispatched to the new active scene, initiated via composer.gotoScene() or composer.showOverlay()).

For this event, event.phase is the string value of "will" if the scene is about to become active, or "did" after the scene comes on screen. If a scene transition effect is specified, the "will" phase is dispatched before the scene effect begins execution. In contrast, the "did" phase is not dispatched until after the effect is finished.

Properties

event.phase