# Close()

> Remove the Overlay from its OverlayCanvas.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Overlays](/engine/6000.6/script-reference/unityeditor/overlays.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public void Close()
```

### Remarks

Note that this does not remove an [Overlay](/engine/6000.6/script-reference/unityeditor/overlays/overlay.md) from the Overlay Menu if it is registered with [OverlayAttribute](/engine/6000.6/script-reference/unityeditor/overlays/overlayattribute.md).
