SENSOROFFTIME

 

The SENSOROFFTIME function returns the simulation time at the exact moment when a Laser or PointInBox sensor entity turns off. 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 off.

PointInBox

Time when a sensor is off.

 

Example

SENSOROFFTIME (Sensor1)

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