pyautogui get mouse and control if is click code example Example: pyautogui mouse up mouse down >>> import pyautogui >>> pyautogui.click(10, 5)