>>> pyautogui.mouseDown(x=moveToX, y=moveToY, button='left') >>> pyautogui.mouseUp(x=moveToX, y=moveToY, button='left')