# Sandbox.Rect.AddPoint

```csharp
Rect AddPoint(Vector2 pos)
```

Returns this rect expanded to include this point

### Parameters

- `pos` (`Vector2`)

### Returns

`Rect`

Declared in [Sandbox.Rect](/api/Sandbox.Rect).
Assembly: `Sandbox.System`.
