> For the complete documentation index, see [llms.txt](https://daikirai.gitbook.io/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daikirai.gitbook.io/scripting/movement/targetstrafe.md).

# TargetStrafe

Instead of standing still, you orbit the target and keep a similar distance from it.

## Set the orbit distance

`Radius` controls how far you orbit from the target.

{% hint style="success" %}
A `2-3 block` radius keeps the orbit close to attack range. A wider radius can move you out of reach.
{% endhint %}

`Range` sets the maximum distance at which TargetStrafe keeps orbiting. The orbit stops when the target moves beyond that distance.

## Change direction and activation

`Yaw offset` changes the angle used for the orbit.

`Only while middle clicking` makes TargetStrafe run only while you hold the middle mouse button. Leave it off when you want it to follow KillAura automatically.

## Related modules

* [KillAura](/scripting/combat/killaura.md)
