doing an assignment that requires me to join two circles by a line, with circles drawn one at a time by mouse click
the coordinates for the circle are variables
i am having trouble trying to find the coordinates for the previous circle in which to connect the line
eg
line(previous circleX, previous circleY, circleX, circleY);
any help or advice would be greatly appreciated
also i can post entire code if that helps