> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/nodes/tasks/game-object/get-distance.md).

# Get Distance

Node description and basic instructions

### Description

Get distance between two transform and store result in key.

**To create it**, right-click in the editor and select <mark style="color:purple;">Create Node/Tasks/Game Object/Get Distance</mark>

This task node has a number of fields, that are highlighted in picture below.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2Fzc7r6fD0cEowLCUiQTX6%2Fimage.png?alt=media&amp;token=dc30c627-9f0c-4a51-a556-080f1f6dd9f4" alt=""><figcaption></figcaption></figure>

### Fields

| Name              | Description                             |
| ----------------- | --------------------------------------- |
| Node Name         | Name of node.                           |
| Ignore About Self | Whether node ignores abort self or not. |
| Transform         | Transform reference of gameobject.      |
| Target            | Transform reference of gameobject.      |
| Store Result      | Store distance value (Float).           |
