Timer

Overview

The Timer sensor returns elapsed scenario time in seconds since the scenario started. It pauses when the simulation is paused and does not represent wall-clock or in-world date/time.

Unlike the vehicle sensors on this page, the Timer is handled on the game engine (GE) side, not on the vehicle VM.

The sensor is available to use from Python API . It has no extensions.tech_sensors.create* / get*Readings Lua API.

Usage

This sensor does not use extensions.tech_sensors.create*. Request it through a tech client (BeamNGpy, ROS, or similar) with a game-engine SensorRequest containing {type = 'Timer'}.


{type = 'Timer'}

Args:

None.

Returns: response(table):

Field
Description
Field
time
Description
Elapsed scenario time (seconds)
Last modified: August 3, 2026

On this page:

Any further questions?

Join our discord
Our documentation is currently incomplete and undergoing active development. If you have any questions or feedback, please visit this forum thread.