You can do mouse move in background with is_async=True in mouse.move.
mouse.sync waits until the mouse reaches target.
mouse.stop stops the background move immediately or does nothing if the mouse is not moving.
A new mouse.move stops mouse move in background first and goes to the new target
May cause issues if multiple threads are calling mouse.move (e.g. chicken).
You can do mouse move in background with
is_async=True
inmouse.move
.mouse.sync
waits until the mouse reaches target.mouse.stop
stops the background move immediately or does nothing if the mouse is not moving. A newmouse.move
stops mouse move in background first and goes to the new targetMay cause issues if multiple threads are calling mouse.move (e.g. chicken).