Articles → Python → Moveto Function In PyautoguiMoveto Function In PyautoguiIn this article, we will discuss about moveTo function in pyautogui.Purpose moveTo function moves the mouse cursor at specific position.Example import pyautogui pyautogui.moveTo(10,20)Adding Delay In Moveto Function You can add ‘duration’ attribute to add delay in the movement of mouse.import pyautogui pyautogui.moveTo(10,20, duration = 2)Posted By - Karan Gupta Posted On - Monday, May 20, 2019 Updated On - Thursday, May 23, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
import pyautogui pyautogui.moveTo(10,20)
import pyautogui pyautogui.moveTo(10,20, duration = 2)
Query/Feedback