> 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/adding-to-the-game/waypoints.md).

# Waypoints

You can create unique waypoints for each enemy, for this do the following:

* Create a <mark style="color:green;">**Movement Behaviour**</mark> by pressing <mark style="color:orange;">**(GameObject -> USK -> Movement Behaviour)**</mark>.
* Then create a few waypoints and place them as you need.

{% hint style="info" %}
When you click on the "+" button, a point is created; when you click on the "-", it is deleted.
{% endhint %}

![](/files/ETRzANghYJ9r45E7pQuu)

Each point has 2 parameters:

| Parameter       | Description                                                                                                                                                                                                                                                                                                                                                                                                   |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Next Action** | <ul><li><strong>Next Point</strong> - the enemy will move to the next waypoint after the current point.</li><li><strong>Random Point</strong> - the enemy will find a random waypoint and move to it after current.</li><li><strong>Nearest Point</strong> - the enemy will find the nearest point and move to it after current. </li><li><strong>Stop</strong> - the enemy will finish patrolling.</li></ul> |
| **Wait**        | The enemy will stop near the point and wait for some time. In this state, one of the find animations will be played.                                                                                                                                                                                                                                                                                          |

* After you finish creating the <mark style="color:green;">**Movement Behavior**</mark>, set it in the script <mark style="color:green;">**AI Controller**</mark> script.

![](/files/CpN5txLFazWTeiOChILw)
