Math Addon
From SolarStrike wiki
See also: Vector3d_Class for vector math.
distance
number math.distance(x1,y1, x2,y2)
Pretty standard distance function. Returns the distance between two points. What else do you want?