You defined the line as FG. If you want to create an animation on the line you have to create an extra point on the line instead of using F since F is a free point. More use a segment instead of a line to have a start and an end. So I created a point I on a segment. Using a vector I created a point J to define the position of the ball. See added
Comments have been locked on this page!