# Sandbox.RectInt.Add

## Overload 1

```csharp
void Add(RectInt r)
```

Expand this Rect to contain the other rect

### Parameters

- `r` (`RectInt`)

## Overload 2

```csharp
void Add(Vector2Int point)
```

Expand this Rect to contain the point

### Parameters

- `point` (`Vector2Int`)

Declared in [Sandbox.RectInt](/api/Sandbox.RectInt).
Assembly: `Sandbox.System`.
