private async void DrawMiranaLine(Unit unit) { var startPos = unit.Position; await Task.Delay(100); var newPos = unit.Position; var pos = (startPos - newPos).Normalized(); pos *= 3000; pos = startPos - pos; Particle.DrawLine(unit, "mirana_arrow", pos, false); while (unit.IsValid) { await Task.Delay(50); } Particle.Remove("mirana_arrow"); }