# Equals

> Returns true if the RigidTransform is equal to a given RigidTransform, false otherwise.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics](/engine/6000.6/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## Equals(RigidTransform)

Returns true if the RigidTransform is equal to a given RigidTransform, false otherwise.

```csharp
public bool Equals(RigidTransform x)
```

### Parameters

**** (\[RigidTransform]\(/engine/6000.6/script-reference/unity/mathematics/rigidtransform)): The RigidTransform to compare with.

### Returns

| Type                                                          | Description                                                        |
| ------------------------------------------------------------- | ------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the RigidTransform is equal to the input, false otherwise. |

## Equals(Object)

Returns true if the RigidTransform is equal to a given RigidTransform, false otherwise.

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

### 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 RigidTransform is equal to the input, false otherwise. |
