Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import win32gui,win32api,random,time
- while True:
- value1,value2 = random.choice([-1,0,1]),random.choice([-1,0,1])
- win32api.SetCursorPos((win32gui.GetCursorPos()[0]+value1,win32gui.GetCursorPos()[1]+value2))
- time.sleep(0.02)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement