Articles → Python → 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


Picture showing the output of the moveRel function in pyautogui
Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250