Answered
Can someone share script that draw line between centers of two elipses
I need a script that draws line (stroke: 1, yellow) between center of two randomly placed <Ellipse> objects on the artboard. Ellipses size is 10x10 and they cannot be symbols. Elipses cannot have different names, there name should be <Ellipse> .
My goal is to select the two green ellipses, run the script and get the line between the centers.
End goal example:

