> 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/api/aitrafficlightmanager.md).

# AITrafficLightManager

On Start will set all AITrafficLights assigned to red, then begin the configured sequence.

| Variables          |                                                            |
| ------------------ | ---------------------------------------------------------- |
| trafficLightCycles | Array of AITrafficLightCycles played as a looped sequence. |

## AITrafficLightCycle

| Variables     |                                                     |
| ------------- | --------------------------------------------------- |
| greenTimer    | Green light duration.                               |
| yellowTimer   | Yellow light duration.                              |
| redTimer      | Red light duration.                                 |
| trafficLights | Array of AITrafficLights that follow this sequence. |
