# CloseAllOverlays()

Source: https://help.malighting.com/grandMA3/2.4/HTML/lua_objectfree_closealloverlays.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
## Description

The **CloseAllOverlays** function closes any pop-ups or menus (overlays) open on any screen.

## Arguments

This function does not accept any arguments.

## Return

This function does not return anything.

## Example

This example simply closes any overlay.

|                                                      |
| ---------------------------------------------------- |
| [Copy Code](javascript:void\(0\))Lua                 |
| ```
return function()
    CloseAllOverlays()
end
``` |