I'm building a device that moves a laser across the floor for cat entertainment. I really like to have a feature to detect when the cat 'catches' the laser. So I thought of using a ultrasound sensor, but I'm not sure if I can measure across several meter/feet.
So the question is, how can I detect movement in a straight line? And which sensor can I use for that?