# operator ==(Resolution, Resolution)

> Returns true if two resolutions are equal.

## Definition

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

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

### Parameters

**** (\[Resolution]\(/engine/6000.7/script-reference/unityengine/resolution)): Resolution to compare on the left side.**** (\[Resolution]\(/engine/6000.7/script-reference/unityengine/resolution)): Resolution to compare on the right side.

### Returns

| Type                                                          | Description                                                                                 |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the width, height, and refresh rate of both resolutions are equal, otherwise false. |

### Remarks

Additional Resources: [Resolution.Equals](/engine/6000.7/script-reference/unityengine/resolution/equals.md)
