# operator ==(RectInt, RectInt)

> Returns true if the rectangles are the same.

## Definition

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

```csharp
public static bool operator ==(RectInt lhs, RectInt rhs)
```

### Parameters

**** (\[RectInt]\(/engine/6000.7/script-reference/unityengine/rectint)): **** (\[RectInt]\(/engine/6000.7/script-reference/unityengine/rectint)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
