> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/rpa-studio/automation/vision/wait-for-image.md).

# Wait For Image

Waits for a specific image.

This activity waits for a user-specified image for a specific time period for the image to appear in a specified Desktop area or a specified window.

### Auto Settings

* **Desktop Area:**\
  Specifies an area on the Desktop where the specified image is present.
* **UI Element Selector:**\
  Specifies a UI Element or a Window on the screen in which the specified image is present.

### Input

* **Image:** [`String Argument`](/getting-started/rpa-studio/arguments.md#types-of-arguments)![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-60c0f61d26a232f2fd29f73432b792d3f03147e3%2Fimage.png?alt=media)\
  Specifies the image to wait for.

### Timeout

* **No. of Retries:** [`Object Argument`](/getting-started/rpa-studio/arguments.md#types-of-arguments)\
  The number of retires if the image is not found in the given time interval. If the value is 0, the activity will wait forever until the image is found.
* **Interval:** [`Object Argument`](/getting-started/rpa-studio/arguments.md#types-of-arguments)\
  Specifies the time interval in milliseconds.

### Configure

* **Mode:**

  The **TopMostWindow** mode will take a screenshot of the topmost window. The **Auto** mode will either use the UI Element Selector or Desktop Area Rectangle to take the screenshot.

### Output

* **Found:**[ `Boolean Variable`](/getting-started/rpa-studio/variables/user-defined-variables-1.md#boolean)

  Specify a variable name that stores the output image which contains the matched image location.
