Follow the line without leaving it

Drag the red circle to the yellow point, staying inside the path