# Speed Routes Setup

Inside the Mobile Traffic System, you can set different maximum speeds depending on the section of the road the traffic vehicle is in. This is a very powerful tool to make traffic vehicles respect the speed signs on the side of your roads or to increase car speeds on highways and lower them in cities.

## Setup Speed Routes

To create a speed route, you'll have to edit the waypoint at the beginning of the route, to enforce a restriction, and the waypoint at the end of a route to end the restriction.

For example, to increase the speed on the second lane to 100 km/h the following steps are required:

<figure><img src="https://1500817731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuflU4iIzTBjoLH93zTYD%2Fuploads%2FiR3Db5GRJTpLUwOREfLN%2Fimage_2024-02-07_181336408.png?alt=media&#x26;token=4da93146-23f3-4410-82af-1aaa9c8c49f0" alt=""><figcaption></figcaption></figure>

Select the waypoint mark with the red X set the speed to 100 km/h and press the **Set Speed** button

<figure><img src="https://1500817731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuflU4iIzTBjoLH93zTYD%2Fuploads%2F7HVXyqtGxLNhiBg8ulxU%2Fv2-SetInitialSpeed.PNG?alt=media&#x26;token=940e6405-c056-4ff9-874a-d4edb8a25975" alt=""><figcaption></figcaption></figure>

When the Set Speed button is pressed, the speed settings from the current waypoint will be transmitted to the entire waypoint system until a waypoint that was manually set is encountered and then will stop propagating.

Then select the waypoint marked with the green X set the Max speed back to 50 and press the Set Speed button. This will end the 100 hm/h speed section.

<figure><img src="https://1500817731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuflU4iIzTBjoLH93zTYD%2Fuploads%2FoppjN5JF0KDjGCoOubv4%2Fimage_2024-02-07_193744917.png?alt=media&#x26;token=5e25fb93-eaae-4101-9792-140e36b242f6" alt=""><figcaption></figcaption></figure>

## Speed Visualization

To better visualize your speed routes, open the **Settings Window** and select **Speed Routes Setup.** This will open the Speed Routes Window.

For the example above, using the Speed Routes Window, you can see that the second lane has a speed limit of 100 km/h while the rest of the scene has 50 km/h.

<figure><img src="https://1500817731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuflU4iIzTBjoLH93zTYD%2Fuploads%2FLOzZ3ac08Zv8LDthLUIc%2Fimage_2024-02-07_194048305.png?alt=media&#x26;token=39fb2830-a15c-4869-9466-65eb86fb19ea" alt=""><figcaption></figcaption></figure>

You can toggle the routes on/off for each speed and select independent colors for each route for better visualization. All routes with different speeds will appear in this window.

{% hint style="info" %}
To see the Speed Edited Waypoints use the [#show-speed-edited-waypoints](https://gley.gitbook.io/mobile-traffic-system/waypoint-setup-window#show-speed-edited-waypoints "mention")window.
{% endhint %}

For a better understanding, watch the following video:

{% embed url="<https://youtu.be/WqrADi8mUcI?feature=shared>" %}
