# Traffic Light

Each waypoint can automatically add a traffic light by checking the **Is Traffic Light** setting (default is off)

Next, you will probably need to move and/or rotate your traffic light to match your environment.

The traffic light contains one important element. The StopCollider object; this is the collider that will stop the first car arriving at the traffic light.

:warning:**Warning:** This will only work if the collider name is **StopCollider**


---

# 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/traffic-light.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.
