Move mouse cursor randomly

import pyautogui as pag
import random
import time

while True:
	x = random.randint(800, 900)
	y = random.randint(100, 700)
	pag.moveTo(x, y, 0.3)
	time.sleep(3)

Leave a Reply

Your email address will not be published. Required fields are marked *