import pyautogui from time import sleep pyautogui.moveTo(994,254,duration=1.5) for i in range(500) sleep(0.1) pyautogui.click()