<!-- 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; [rotate](./server.matrix3.rotate.md)

## Matrix3.rotate() method

Rotates the current matrix by an angle in radians.

**Signature:**

```typescript
rotate(angle: number): Matrix3;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

angle


</td><td>

number


</td><td>

The angle in radians to rotate the current matrix by.


</td></tr>
</tbody></table>
**Returns:**

[Matrix3](./server.matrix3.md)

The current matrix.

