Forum Discussion

scorpiontahir02's avatar
9 years ago

How to programmatically exit out of scene graph's Scene?

I know back key is used to exit out of Scene. But I want to do it using my own custom exit button (on screen option). One thing comes to my mind, that I can emulate a back key hit using a task node and External Control Protocol. But that will be a hackish way.

So is there a proper way to exit out of a Scene programmatically? Like we can do for Dialog by writing to Dialog.close?

14 Replies