# Overlaps(RectInt)

> RectInts overlap if each RectInt RectInt.Contains a shared point.

## Definition

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

```csharp
public bool Overlaps(RectInt other)
```

### Parameters

**** (\[RectInt]\(/engine/6000.0/script-reference/unityengine/rectint)): Other rectangle to test overlapping with.

### Returns

| Type                                                          | Description                                    |
| ------------------------------------------------------------- | ---------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the other rectangle overlaps this one. |
