SENSORONTIME

 

The SENSORONTIME function returns the simulation time at the exact moment when a Laser or PointInBox sensor entity turns on. At all other times, it returns a value of 0.

 

Format

 

Arguments definition

Sensor entity

The name or argument number of the sensor entity

 

Available Sensors

Toolkit

Sensor

Return Value

Professional

Laser

Time when a sensor is on.

PointInBox

Time when a sensor is on.

 

Example

SENSORONTIME (Sensor1)

SENSORONTIME (1) <Argument: (1) Sensor1 >