import pyautogui import time pyautogui.FAILSAFE=False while True: pyautogui.moveTo(255,255,4) time.sleep(5) pyautogui.moveTo(1000,1000,4) time.sleep(5)