Articles → Pyautogui → moveRel function in pyautogui

moveRel function in pyautogui






Purpose





Example


import pyautogui


print(pyautogui.position())
pyautogui.moveRel(10,20, duration = 2)
print(pyautogui.position())
pyautogui.moveRel(100,200, duration = 2)
print(pyautogui.position())



Output



Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, May 24, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250