# Aim Element

Several FocalRig nodes use the same **Aim Element** settings to decide which rig element should point at a target and which axis should be treated as that element's forward direction.

Nodes that use Aim Element:
- [Aim Chain](aim-chain.md) (**Child**)
- [Aim Eyes](aim-eyes.md) (**Eyes**)
- [Aim Weapon](aim-weapon.md) (**Muzzle Adjustment > Muzzle**)

## Properties

| Property | Type | Description |
|----------|------|-------------|
| Element | Rig Element Key | The element whose axis should point at the target |
| Offset | Transform | Where the point to aim is relative to **Element**. See [Offset](#offset) |
| Aim Mode | [Aim Mode](#aim-mode) | How to determine the aim axis |
| Local Axis | Vector | The local axis of the element to aim at the target (used when **Aim Mode** is **Local Axis**) |
| Reference Target | Vector | A global location for computing the aim axis (used when **Aim Mode** is **Reference Target**) |

Quick Setup usually fills **Local Axis** for you by looking at the current pose and choosing the closest local axis.

## Offset

Use **Offset** to aim a point that has no element of its own, but has a fixed position relative to one that does. The node then treats that point as the element: **Local Axis** and **Reference Target** apply to it, and nodes that rotate the element, such as [Aim Eyes](aim-eyes.md), rotate it around that point.

For example, a weapon actor attached to the `HandGrip_R` socket has no muzzle element in the character's rig. Instead of adding one, set **Element** to `HandGrip_R` and **Offset** to the muzzle's position relative to that socket. [Weapon Analysis](aim-weapon.md?id=weapon-analysis) fills in this offset for you.

The default is no offset, which aims **Element** itself.

## Aim Mode

| Value | Description |
|-------|-------------|
| **Local Axis** | Uses a fixed local-space direction from the element. Use this when the element already has a clear forward axis in the rig |
| **Reference Target** | Computes the aim axis from the element location toward **Reference Target**. Use this when the source animation already turns the element around and you want to preserve that motion instead of locking the aim to one fixed local axis |

For example, an NPC using the [Aim Chain](aim-chain.md) node to look at the camera while playing an idle animation:

![Aim Mode comparison](_media/aim-mode-source-comparison.mp4 ':type=video autoplay loop muted playsinline width=2880 height=1080')
