Your code
Work out the gap from a marker.
Console
Results
0%
Press Run to check your code
Your code has an error
Work out the gap from a marker.
Why not 100%?
Penalties: none this run
Maths works on these two as it did on frameNumber. Adding to mouseX puts the circle a fixed distance right of the pointer, so it trails beside it — wiggle your mouse and the gap never changes.
Work out the gap from a marker.
Work out the gap from a marker.
Work out the gap from a marker.