if distance_to_object(instance_nearest(x, y, obStar)) <= 16 { x = random(room_width); y = random(room_height); }