visuco
Challenge 1 of 16

distance measures between two points, so the distance from the click to the middle of the ball says whether the click was on it. Anything under half the ball's width is inside.

Set how close counts as a hit.

Your code JavaScript

Set how close counts as a hit.

0 / 48 frames · 400×400
Target
Yours
Results
0%
Press Run to check your code
Penalties: none this run

Report this challenge