# Equals

> Compare this object with another object and return true if they are equal.

## Definition

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

## Equals(Object)

Compare this object with another object and return true if they are equal.

```csharp
public override bool Equals(object obj)
```

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): The object to compare with.

### Returns

| Type                                                          | Description                    |
| ------------------------------------------------------------- | ------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the objects are equal. |

## Equals(TimerState)

Compare this object with another object and return true if they are equal.

```csharp
public bool Equals(TimerState other)
```

### Parameters

**** (\[TimerState]\(/engine/6000.6/script-reference/unityengine/uielements/timerstate)): The object to compare with.

### Returns

| Type                                                          | Description                    |
| ------------------------------------------------------------- | ------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the objects are equal. |
