Conditional click when move mouse cursor X distance

I want to create a keyboard maestro so that I press and hold down a trigger hotkey and after I move the mouse cursor over X distance the left click is performed. I can continue to move the mouse cursor while still holding the trigger hotkey to repeat again when the same distance from that point is moved over X distance with the mouse cursor.

An example is when I'm applying stamps in a PDF. I hover over a vertical black line at some point on the Y axis and click. I want the click to happen automatically when I move over the black line or when the mouse cursor move the distance of pixels to the right.


Solution in post. Thank you Tiffle