dismissOverlay()
Dismisses the overlay on screen, focused or not.
Syntax
dismissed = m.maestro.callFunc("dismissOverlay")
Parameters
This function takes no parameters.
Returns
boolean: true if an overlay was showing and is being dismissed; false if none was showing.
Example
' Your own full-screen UI is opening
m.maestro.callFunc("dismissOverlay")
Notes
- Fires
did-dismissononOverlayEvent, with the same focus rules as a Back press or a timeout. - Doesn't close the What Just Happened pill: set the module's
dismissfield totrue. See Panel Integration.