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

# Function: setYaw()

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

Rotation about the Y axis only (yaw), in radians.

## Parameters

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

## Returns

`void`
