Float: DistanceXY(Float: x1, Float: y1, Float: x2, Float: y2) return floatsqroot( ( ( x1 - x2 ) * ( x1 - x2 ) ) + ( ( y1 - y2 ) * ( y1 - y2 ) ) );