> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/functions/math.angledistance.md).

# math.angleDistance

> **angleDistance**(`a`, `b`): `number`

The smallest difference between two angles, 0 to 180.

### Parameters

#### a

`number`

The first angle.

#### b

`number`

The second angle.

### Returns

`number`
