> For the complete documentation index, see [llms.txt](https://simons-assets.gitbook.io/playable-vehicle-ai-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://simons-assets.gitbook.io/playable-vehicle-ai-documentation/priority-stop.md).

# Priority Stop

Each waypoint can automatically add a **Priority Stop** by checking the **Is Priority Stop** parameter (disabled by default)

Then, you will probably have to move and/or rotate the waypoint to match your environment.

The **Priority Stop** contains two raycasts. A yellow one at 45 deg to the right and a red one at 45 deg to the left.

**The principle is as follows:**

When a car arrives at the **Priority Stop**, the raycasts intercept the passage of the cars first on the yellow raycast, then on the red raycast.

**The yellow activates the collider which stops the car, the red deactivates it.**

<figure><img src="/files/PK26JCNSr4spIYPHLriR" alt=""><figcaption></figcaption></figure>
