Track position of end effector by laser beam