function getDistance(temp.x1, temp.y1, temp.x2, temp.y2) { return ((temp.x1 - temp.x2) ^ 2) + ((temp.y1 - temp.y2) ^ 2)) ^ 0.5;}