# Distance

Mainly used for the [Header](https://stefanuk12.gitbook.io/r-esp-1/esp-object-classes/header)'s Value when its [SubType ](https://stefanuk12.gitbook.io/r-esp-1/esp-object-classes/header/data#headertype)is set to Distance. It returns the distance from the object.

## Parameters

<table><thead><tr><th>Name</th><th width="152">Description</th><th>Type</th><th>Default</th><th data-type="checkbox">Optional</th></tr></thead><tbody><tr><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>true</td></tr></tbody></table>

## Return

`<number> the distance from object`
