# Sandbox.UI.Panel.FindPopupPanel

```csharp
Panel FindPopupPanel()
```

Returns the first [ancestor](/api/Sandbox.UI.Panel/Ancestors) panel that has no parent.

### Returns

`Panel`

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
