Drag "slowly" with XMove

For a website test, I need to drag an icon onto a canvas.
I understand from the examples that in order to release the dragged icon I need to first move to the target position then release the mouse button. This can be done with two XMove instructions.

As the script gets bigger this makes things complicated to maintain.

Is there a way to drag the mouse to the target position and release the button with one XMove instruction? If I do that it doesn’t work, maybe because there’s no pause between mouse movement and button release.

Suggestion: You can break up your larger macro into smaller parts (subroutines) with the RUN command. This help to maintain larger automation projects more easily.