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