visuco
Challenge 10 of 16

distance works out how far apart two points are, and a question about that is how a sketch knows two things have met. The ball goes red only once it is within reach of the post on the right.

Set the distance that counts as touching.

Your code JavaScript

Set the distance that counts as touching.

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

Report this challenge