The laser scanning sensor operates on the principle of time of flight (TOF) measurement. At a very high synchronous clock, the laser is emitted at even time intervals. When the laser beam encounters an object, it is reflected back.
https://www.tzbotautomation.com/sensor/laser-sensors/laser-detector-sensor.html