# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://simons-assets.gitbook.io/playable-vehicle-ai-documentation/priority-stop.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
