# Editor.PanelWindow.OnDeactivated

```csharp
System.Action OnDeactivated { get; set; }
```

The window stopped being the active one: the user went to another window, ours or
someone else's.

Declared in [Editor.PanelWindow](/api/Editor.PanelWindow).
Assembly: `Sandbox.Tools`.
