Click offset from top left of window


I have a robot running that periodically can’t click on an image to exit a case in the software we are interfacing with. I have written a loop around it to try 3 times, as most of the time it works & I’m assuming a timing issue, but even this doesn’t work. Initially I was using the idx for this, but occasionally, that can change between runs for some reason.

The image is always the same size, and always appears in a consistent absolute place relative to the top left of the containing window. Is there a way to set an offset from some selector to click on the image?

Regards, Stewart