Toggle direction
Reverses the direction of travel of the selected vehicle: forward becomes reverse and reverse becomes forward. This action has no settings.
How it works
- The speed does not change. When the vehicle is moving, it changes direction at its current speed, so in most cases you stop the vehicle first.
- The result depends on the direction the vehicle had before. If you need a specific direction, use Set direction.
Example
A shuttle script drives a railcar to the end of the line, stops it, waits a moment, and uses Toggle direction before driving back. The same script works in both directions, so you only need one script for the whole shuttle.

