> For the complete documentation index, see [llms.txt](https://scenegroup.gitbook.io/cavalry/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scenegroup.gitbook.io/cavalry/nodes/behaviours/get-vector.md).

# Get Vector

Get the directional vector between two points.

Get Vector can be used in combination with points on a Duplicator to return the direction between that point and a target.

[Common Attributes](/cavalry/nodes/behaviours/common-attributes-behaviours.md) +

**Target** - connect a Shape to get a vector from.&#x20;

**Normalize** - the returned value is normalized to a value of between 0 and 1.

{% hint style="info" %}
Example usage:

1. Create a [Shape](/cavalry/nodes/shapes/basic-shape.md).
2. [Connect](/cavalry/getting-started/key-concepts/connections.md) it to a [Duplicator](/cavalry/nodes/shapes/duplicator.md).
3. [Connect](/cavalry/getting-started/key-concepts/connections.md) a [Value2](/cavalry/nodes/behaviours/value-2.md) to **Shape Position** on the **Duplicator**.
4. Add a [Falloff](/cavalry/nodes/utilities/falloff.md) to the **Value2** Behaviour.
5. Create a [Get Vector](/cavalry/nodes/behaviours/get-vector.md) Utility.
6. Uncheck **Normalize**.
7. [Connect](/cavalry/getting-started/key-concepts/connections.md) ***getVector.id*** > ***value2.value***.
8. [Connect](/cavalry/getting-started/key-concepts/connections.md) ***falloff.id*** > ***getVector.target***.
   {% endhint %}
