pyautogui dragging not a straight path code example Example: python move mouse slowly import autopy # pip install autopy autopy.mouse.smooth_move(100, 600)