Code: Select all
Circle(250, 250, 50, #WHITE)
cx = {310, 320, 330, 340, 350}
cy = {300, 310, 320, 330, 340}
For n=0 To 4
Circle(cx[n]-1, cy[n]-1, 1, #WHITE)
inside=False
xpow=(cx[n]-300)
ypow=(cy[n]-300)
xpow=Pow(xpow, 2)
ypow=Pow(ypow, 2)
totalpow=xpow+ypow
distance=Sqrt(totalpow)
DebugPrint("distance: "..distance)
Next
WaitLeftMouseIf I change the number to at least 3:
Code: Select all
Circle(cx[n]-3, cy[n]-3, 3, #WHITE)This was tested on Hollywood 8 Win64.