Close Overlay

Description

The Close Overlay behavior will close the currently open overlay immediately. It will also un pause any overlay or scene behind it.

Overlays are like scenes but they can run on top of your current scene. You can learn more in the Overlays documentation.

This behavior will trigger an event immediately.

 

Properties

Transition

Select an animation motion tween to play while the overlay closes. This will animate the entire contents of the overlay out of the scene. Eg. You can make your overlay fade out.

Unload

If the overlay is set to preload (Developer feature only) you can unload it from memory once it closes. This frees up memory usage and can increase performance.

Resume All

If this toggle is on, all overlays and the scene behind the current overlay will continue to run as soon as the current overlay is closed.

 

Outputs

This behavior has no outputs. 

 

Examples

If you opened an overlay using the Load Overlay behavior you can now close it.

 

Related

Load Overlay

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk