# operator *

> Multiplies two matrices.

## Definition

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

## operator \*(Matrix2D, Matrix2D)

Multiplies two matrices.

```csharp
public static Matrix2D operator *(Matrix2D lhs, Matrix2D rhs)
```

### Parameters

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

### Returns

| Type                                                                         | Description           |
| ---------------------------------------------------------------------------- | --------------------- |
| [Matrix2D](/engine/6000.6/script-reference/unity/vectorgraphics/matrix2d.md) | The multiplied matrix |

## operator \*(Matrix2D, Vector2)

Transforms a Vector2 by a matrix.

```csharp
public static Vector2 operator *(Matrix2D lhs, Vector2 vector)
```

### Parameters

**** (\[Matrix2D]\(/engine/6000.6/script-reference/unity/vectorgraphics/matrix2d)): The left hand side matrix of the operation**** (\[Vector2]\(/engine/6000.6/script-reference/unityengine/vector2)): The vector the matrix will be multiplied with

### Returns

| Type                                                              | Description            |
| ----------------------------------------------------------------- | ---------------------- |
| [Vector2](/engine/6000.6/script-reference/unityengine/vector2.md) | The transformed vector |
