> For the complete documentation index, see [llms.txt](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/emerald-components-required/movement-component/using-the-stationary-wander-type.md).

# Using the Stationary Wander Type

## Using the Stationary Wander Type

The Stationary Wander Type keeps an AI stationary at its starting position until it detects a target. When this happens, it will react to the target according to its [Behavior Type](/emerald-ai-wiki/emerald-components-required/behaviors-component.md). It will then return to its stationary starting position after it has exited its combat state.

{% hint style="info" %}
**Note:** Detected targets need to be visible and within an AI's field of view.
{% endhint %}

{% hint style="info" %}
**Note:** An AI will generate a new Idle Animation, based on its Idle Animation List, every Idle Animation Second (which is randomly generated based on the Min and Max Idle Animation Seconds).
{% endhint %}

<figure><img src="https://content.gitbook.com/content/v03IiZPaMe8fX49a9MnO/blobs/dsrsDNt5ub5yihZHv4Dr/StationaryWanderType.png" alt=""><figcaption></figcaption></figure>
