Simple function to wait for an image before clicking
I am new to Sikuli and Python.
I am trying to automate a set of images that appear on the screen.
I would like to create a simple function that would wait for a particular image till it appears on the screen and then click once it appears. This way, it should work on any machine irrespective of the loading speed as it waits till the image appears.
Please help me out with this function