# Sandbox.Animation.GraphBuilder.TargetOffset

```csharp
Node TargetOffset(Node target, Vector3 translationOffset, Rotation rotationOffset, bool boneSpace = True, Node translation = null)
```

Apply a rotation and translation offset to a target.

### Parameters

- `target` (`Node`): The target node to offset.
- `translationOffset` (`Vector3`): The translation offset to apply.
- `rotationOffset` (`Rotation`): The rotation offset to apply.
- `boneSpace` (`bool`), default `True`: When true the offset is applied in the target's local (bone) space.
- `translation` (`Node`), default `null`: Optional vector input overriding the constant translation offset.

### Returns

`Node`

Declared in [Sandbox.Animation.GraphBuilder](/api/Sandbox.Animation.GraphBuilder).
Assembly: `Sandbox.Engine`.
