# OnBecameInvisible()

> Called after the window is removed from a container view, or is no longer visible within a tabbed collection of EditorWindow.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)

```csharp
public void OnBecameInvisible()
```

### Remarks

See also [EditorWindow.OnBecameVisible()](/engine/6000.7/script-reference/unityeditor/editorwindow/onbecamevisible.md).
