# Sandbox.UI.Popup.AnchorRect

```csharp
System.Nullable<Rect> AnchorRect { get; set; }
```

Optional anchor in the source surface's pixels, for a caret or other part of a panel.
Anchored popups flip above or below this rectangle to fit the available space.

Declared in [Sandbox.UI.Popup](/api/Sandbox.UI.Popup).
Assembly: `Sandbox.Engine`.
