> 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/look-at.md).

# Look At

Rotate shapes towards a target.

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

**Target** - connect a transform (Shape) to aim at.

**Offset** - add/subtract a value to the output(s).

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

1. Create a [Polygon](/cavalry/nodes/shapes/basic-shape.md).
2. Set its **Sides** to **3**.
3. Create a [Null](/cavalry/nodes/utilities/null.md) (Shortcut: `Shift + ctrl/cmd + =`).
4. Create a **Look At**.
5. Connect **null.id > lookAt.target**.
6. Connect **lookAt.id > polygon.rotation**.
7. Move the **Null**.
   {% endhint %}

{% embed url="<https://youtu.be/YDk34IAo_A8>" %}
