Same as those SCATT training aids.
The target has a sensor and can tell when the pulse of lead (sorry, light) comes down.
I purchased a nephew a cowboy shooting range with tin cans and targets that moved when shot with the laser rifle.
Its a shame they couldn't use proper pistols, preferably colt 45s, but it reduces the safety requirements using light.