<!-- 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; [projection](./server.matrix3.projection.md)

## Matrix3.projection() method

Sets the current matrix to a orthographic projection matrix with the given bounds.

**Signature:**

```typescript
projection(width: number, height: number): Matrix3;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

width


</td><td>

number


</td><td>

The width of the projection.


</td></tr>
<tr><td>

height


</td><td>

number


</td><td>

The height of the projection.


</td></tr>
</tbody></table>
**Returns:**

[Matrix3](./server.matrix3.md)

The current matrix.

