xamt = (o.x + 4) - x; rotspeed += floor(xamt / 6); with (o) instance_destroy();