mouse icon indicating copy to clipboard operation
mouse copied to clipboard

Drag does not take effect?

Open pysrc opened this issue 5 years ago • 1 comments

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)

pysrc avatar Sep 19 '20 03:09 pysrc

You have to put duration=2 or whatever time you want in the args

Rainbobow avatar Dec 10 '20 11:12 Rainbobow