mouse
mouse copied to clipboard
Drag does not take effect?
This code did not work, but the mouse moved, but the icon did not move. What's wrong?
import mouse
x, y = mouse.get_position()
mouse.drag(x, y, x + 100, y + 100)
You have to put duration=2 or whatever time you want in the args