# Remove(Rect)

> Remove the border offsets from a rect.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public Rect Remove(Rect rect)
```

### Parameters

**** (\[Rect]\(/engine/6000.6/script-reference/unityengine/rect)):&#x20;

### Returns

| Type                                                        | Description |
| ----------------------------------------------------------- | ----------- |
| [Rect](/engine/6000.6/script-reference/unityengine/rect.md) |             |
