event_inherited(); if (x > (obj_growtangle.x + 500)) x -= 1000; if (x < (obj_growtangle.x - 500)) x += 1000; if (y > (obj_growtangle.y + 500)) y -= 1000; if (y < (obj_growtangle.y - 500)) y += 1000; if (point_distance(x, y, obj_growtangle.x, obj_growtangle.y) > 500) { with (instance_place(x, y, object_index)) { x += lengthdir_x(60, point_direction(x, y, other.x, other.y) + 180); y += lengthdir_y(60, point_direction(x, y, other.x, other.y) + 180); } } spinrate *= 0.97; speed = scr_approach_curve(speed, 0, 15, 0); image_angle += (angle_difference(direction, image_angle) / 5);