Click & Drag (Draw a line under found image) in the Preview app

Hello there!

I am struggling with drawing a line under the found image in the Preview app.

The following macro successfully finds an image, clicks and moves the mouse pointer following the defined coordinations, but without dragging (Not drawing a line).

Is there any trick about such actions?
Any help is highly appreciated.

Hi! Just tried and it works fine for me. Not sure why it isn't working for you.

Incidentally, you can use pause until Preview is at the front instead of an arbitrary pause like that. Tends to be quicker while remaining reliable.