visuco
Challenge 13 of 16

A rectangle takes a corner and then a width and a height, so a box that reaches from a fixed corner to the click needs both of those worked out. Take the corner away from the click to get each one.

Complete the two lines.

Your code JavaScript

Complete the two lines.

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

Report this challenge