The runtime game that is using the scene stack
Return the current gdjs.RuntimeScene being played, or null if none is run.
Pause the scene currently being played and start the new scene that is specified.
If externalLayoutName
is set, also instantiate the objects from this external layout.
Optional
externalLayoutName: stringStart the specified scene, replacing the one currently being played.
If clear
is set to true, all running scenes are also removed from the stack of scenes.
Optional
clear: boolean
Hold the stack of scenes (gdjs.RuntimeScene) being played.