private async void SingleLeftWithLoop() { int i = 0; while (start == true && i < clickRepetitions) { mouse.SingleLeft(); i++; await Task.Delay(clickIntervals); } }