visualize moving Laserline on actor

Hello, how would you render projecting a moving laserline over actors? my only idea is using a positional light and putting a mask with a slit directly in front of it.