> For the complete documentation index, see [llms.txt](https://gley.gitbook.io/mobile-traffic-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gley.gitbook.io/mobile-traffic-system/events.md).

# Events

All events are located inside **Gley.TrafficSystem.Events**

<table><thead><tr><th width="222" data-type="content-ref">Name</th><th>Description</th></tr></thead><tbody><tr><td><a href="/mobile-traffic-system/events/ondestinationreached.md">onDestinationReached</a></td><td>Triggered every time a vehicle reaches the last point of its path</td></tr><tr><td><a href="/mobile-traffic-system/events/onvehicleadded.md">onVehicleAdded</a></td><td>Triggered every time a vehicle is acivated inside the scene.</td></tr><tr><td><a href="/mobile-traffic-system/events/onvehiclecrashed.md">onVehicleCrashed</a></td><td>Triggered when a vehicle crashes into another object.</td></tr><tr><td><a href="/mobile-traffic-system/events/onvehicleremoved.md">onVehicleRemoved</a></td><td>Triggered every time a vehicle is deactivated.</td></tr><tr><td><a href="/mobile-traffic-system/events/onwaypointreached.md">onWaypointReached</a></td><td>Triggered every time a waypoint that has the Trigger Event option enabled.</td></tr></tbody></table>
