# Editor.Widget.IsModal

```csharp
bool IsModal()
```

Returns true if this is a modal window. This means it will appear on top of everything and block input to everything else.

### Returns

`bool`

Declared in [Editor.Widget](/api/Editor.Widget).
Assembly: `Sandbox.Tools`.
