float distance2 = DISTANCE(cursor_x, cursor_y, x2, y2);
float distance3 = DISTANCE(cursor_x, cursor_y, x3, y3);
float distance4 = DISTANCE(cursor_x, cursor_y, x4, y4);
float distance2 = DISTANCE(cursor_x, cursor_y, x2, y2);
float distance3 = DISTANCE(cursor_x, cursor_y, x3, y3);
float distance4 = DISTANCE(cursor_x, cursor_y, x4, y4);