Articles → Pyautogui → dragRel function in pyautogui

dragRel function in pyautogui






Purpose





Example


import pyautogui


print(pyautogui.position())
pyautogui.dragRel(10,20, duration = 2)
print(pyautogui.position())
pyautogui.dragRel(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