> For the complete documentation index, see [llms.txt](https://simpletrafficsystem.turnthegameon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/spawn-buttons/ai-traffic-controller.md).

# AI Traffic Controller

This is the primary logic controller for AI cars. There must be only one in the scene (it’s a singleton) for AI cars to register to.

More information about this prefab can be found in the prefabs section.

{% content-ref url="/pages/-MDbW-2JhhTCUFgxI0L7" %}
[AITrafficController](/documentation/prefabs/aitrafficcontroller.md)
{% endcontent-ref %}
