# Sandbox.UI.Label.GetCaretRect

```csharp
Rect GetCaretRect(int i)
```

### Parameters

- `i` (`int`)

### Returns

`Rect`

Declared in [Sandbox.UI.Label](/api/Sandbox.UI.Label).
Assembly: `Sandbox.Engine`.
