---
url: /api/kiln/functions/setAngle2D.md
---
[Kiln API](../../index.md) / [kiln](../index.md) / setAngle2D

# Function: setAngle2D()

```ts
function setAngle2D(t, angle): void;
```

Rotation about the Z axis only, the one rotation 2D mode uses.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `t` | `Rot` |
| `angle` | `number` |

## Returns

`void`
