> For the complete documentation index, see [llms.txt](https://docs.gercstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gercstudio.com/enemies/ai-controller/movement.md).

# Movement

### NavMesh Agent

The agent is responsible for the movement around the navmesh, and for avoiding obstacles. Therefore, it must match the enemy's size.

![](/files/9HmG6S8zZknSJrXVIETl)

### Movement Parameters

![](/files/QaYpWfi3Fhi6m6M3rS2S)

<mark style="color:green;">**Waypoints Behaviour**</mark> contains waypoints along which the enemy moves.

{% content-ref url="/pages/-LfFXMKIjfpgTNSsdil5" %}
[Waypoints](/enemies/adding-to-the-game/waypoints.md)
{% endcontent-ref %}

<mark style="color:green;">**Root Motion**</mark>

**Active** - the enemy speed is based on Root Motion animations.

**Inactive** - you can set the speed manually.

<mark style="color:green;">**All Directions Movement**</mark>

If this feature is **active**, the enemy moves in different directions during the attack state; **otherwise**, the enemy will standstill.
