# operator ==(Matrix2D, Matrix2D)

> Checks if two matrices are equal.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.VectorGraphics](/engine/6000.5/script-reference/unity/vectorgraphics.md)
* **Assembly:** UnityEngine.VectorGraphicsModule

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

### Parameters

**** (\[Matrix2D]\(/engine/6000.5/script-reference/unity/vectorgraphics/matrix2d)): The left hand side matrix of the comparison**** (\[Matrix2D]\(/engine/6000.5/script-reference/unity/vectorgraphics/matrix2d)): The right hand side matrix of the comparison

### Returns

| Type                                                          | Description                                            |
| ------------------------------------------------------------- | ------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if "lhs" and "rhs" are equal, or false otherwise. |
