Your code
Set how close counts as near.
Console
Results
0%
Press Run to check your code
Your code has an error
Set how close counts as near.
Why not 100%?
Penalties: none this run
Back to the mouse, and a question of a different kind. distance measures between two points, so the distance from the pointer to the middle of the ball says whether the pointer is anywhere near it.
Set how close counts as near.
Set how close counts as near.
Set how close counts as near.