# onClose

> An action that is invoked after the menu is closed.

## Definition

* **Type:** Event
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public event Action onClose
```
