# Editor.PopupWidget.PreventDestruction

```csharp
bool PreventDestruction
```

Declared in [Editor.PopupWidget](/api/Editor.PopupWidget).
Assembly: `Sandbox.Tools`.
