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

# Function: dist()

```ts
function dist(a, b): number;
```

## Parameters

| Parameter | Type |
| ------ | ------ |
| `a` | `Readonly`<[`Vec3`](../interfaces/Vec3.md)> |
| `b` | `Readonly`<[`Vec3`](../interfaces/Vec3.md)> |

## Returns

`number`
