Although it is generally better to use high level actions like Press Button or Resize Window, it is sometimes necessary to resort to looking at the screen for a specific image and responding appropriately (behaving differently if it exists, clicking on it, moving things to it, etc).
There are various actions (Move or Click Mouse, Find Image on Screen, conditions and collections that search the screen for a matching image.
Remember when specifying the area, as with all numeric fields, the numbers can be calculations including functions, and the fields expand to allow for longer expressions as soon as you type something other than a number, so this allows very precise control of where you can match.
Keyboard Maestro uses a relatively fast search to make the action perform in a reasonable amount of time, but it can result in not finding some images. The most difficult images to match are small grey images (like icons or text). Since the screen tends to be filled with small grey areas, it is hard for Keyboard Maestro to find the best locations to look. If your search area is smaller than a quarter of the whole desktop, then Keyboard Maestro uses a slower but more accurate search method, so if you are having troubles finding certain images, especially small grey images, restricting the search area may help.
When testing found image macros: