<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [Matrix2](./server.matrix2.md) &gt; [multiply](./server.matrix2.multiply.md)

## Matrix2.multiply() method

Multiplies the current matrix by another matrix.

**Signature:**

```typescript
multiply(matrix2: Matrix2): Matrix2;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

matrix2


</td><td>

[Matrix2](./server.matrix2.md)


</td><td>

The matrix to multiply the current matrix by.


</td></tr>
</tbody></table>
**Returns:**

[Matrix2](./server.matrix2.md)

The current matrix.

