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

# Function: angle2D()

```ts
function angle2D(t): number;
```

Z-axis angle of a rotation, for 2D mode.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `t` | `Readonly`<`Rot`> |

## Returns

`number`
