Last active
April 25, 2022 06:50
-
-
Save wise-bit/66de1a186fb2b199bff1780344b830e9 to your computer and use it in GitHub Desktop.
Mouse wiggler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyautogui | |
# Wiggles starting from the location of mouse when executing | |
click = True | |
while True: | |
pyautogui.moveRel(0, 50, duration=1) | |
if click: | |
pyautogui.click() | |
pyautogui.moveRel(0, -50, duration=1) | |
if click: | |
pyautogui.click() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment