event_inherited(); direction = 270 + (cos(timer / (10 * m)) * 30); timer++; m += 0.05;