Skip to main content

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-dismiss on onOverlayEvent, with the same focus rules as a Back press or a timeout.
  • Doesn't close the What Just Happened pill: set the module's dismiss field to true. See Panel Integration.