This commit is contained in:
godot 2023-12-23 00:52:55 +01:00
commit 8f6f59ff23

View File

@ -19,6 +19,7 @@ while True:
x2, y2 = pyautogui.locateCenterOnScreen("myCont.png", confidence=0.75)
pyautogui.moveTo(x2, y2)
pyautogui.click()
pyautogui.press("enter")
# move back
pyautogui.moveTo(x, y)