3 ms·
Bug in example "Interactivity 1": In function "mousePressed", distance is checked from (360, 240) when the ellipse is actually placed at (360, 200). Can anyon
by alok-g 12y ago
Bug in example "Interactivity 1":
In function "mousePressed", distance is checked from (360, 240) when the ellipse is actually placed at (360, 200).
Can anyone suggest how to read back the actual center location of the eclipse programmatically inside the "mousePressed" function so that the center coordinates are not duplicated? (Note: I am new to JavaScript.)