# Delegates

All delegates are located inside **Gley.TrafficSystem.Delegates**

<table><thead><tr><th width="259" data-type="content-ref">Name</th><th>Description</th></tr></thead><tbody><tr><td><a href="delegates/building-in-trigger">building-in-trigger</a></td><td>Controls how the traffic vehicle reacts when a building is in the trigger.</td></tr><tr><td><a href="delegates/dynamic-obstacle-in-trigger">dynamic-obstacle-in-trigger</a></td><td>Controls how the traffic vehicle reacts when a dynamic obstacle is in the trigger.</td></tr><tr><td><a href="delegates/modify-trigger-size">modify-trigger-size</a></td><td>Controls the dimension of the front trigger based on the vehicle's speed.</td></tr><tr><td><a href="delegates/player-in-trigger">player-in-trigger</a></td><td>Controls how the traffic vehicle reacts when a player car is in the trigger.</td></tr><tr><td><a href="delegates/spawn-waypoint-selector">spawn-waypoint-selector</a></td><td>Controls the selection of a free waypoint to instantiate a new vehicle on.</td></tr><tr><td><a href="delegates/traffic-lights-behaviour">traffic-lights-behaviour</a></td><td>Controls the behavior of the lights inside a traffic light intersection.</td></tr><tr><td><a href="delegates/vehicle-crash">vehicle-crash</a></td><td>Controls how the traffic vehicle reacts when it crashes into something.</td></tr></tbody></table>
