diff --git a/src/engine/Engine.ts b/src/engine/Engine.ts index 0a41be5ad..44d350073 100644 --- a/src/engine/Engine.ts +++ b/src/engine/Engine.ts @@ -453,6 +453,14 @@ export class Engine implements CanInitialize, return this.director.currentScene; } + + /** + * The current [[Scene]] being drawn and updated on screen + */ + public get currentSceneName(): string { + return this.director.currentSceneName; + } + /** * The default [[Scene]] of the game, use [[Engine.goto]] to transition to different scenes. */