<!-- 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; [invert](./server.matrix2.invert.md)

## Matrix2.invert() method

Inverts the current matrix.

**Signature:**

```typescript
invert(): Matrix2;
```
**Returns:**

[Matrix2](./server.matrix2.md)

The current matrix.

