# Click on Image from Screen

This block allows you to save an image of a section of the screen during the Robot's development and record the click coordinates relative to this image. Then, during the script execution, the Robot will find a similar section of the screen (even if it is in a different location on the screen) and will click at the point with the previously filled coordinates relative to the top left corner of the image.

<table data-header-hidden><thead><tr><th width="300.11663818359375" valign="top"></th><th width="311.28326416015625" valign="top"></th></tr></thead><tbody><tr><td valign="top">Selector</td><td valign="top">[Selector] Interactive selection of a screen area.</td></tr><tr><td valign="top">Action</td><td valign="top"><p>Select action:</p><ul><li>left click,</li><li>double click,</li><li>right click,</li><li>hover cursor.</li></ul></td></tr><tr><td valign="top">Image</td><td valign="top">Identifier of the desired image. The image itself is saved in the project's Images folder and is included in the Robot file upon publication.</td></tr><tr><td valign="top">Click Coordinate X</td><td valign="top">[Number] Horizontal offset of the click coordinate relative to the top left corner of the found image on the screen.</td></tr><tr><td valign="top">Click Coordinate Y</td><td valign="top">[Number] Vertical offset of the click coordinate relative to the top left corner of the found image on the screen.</td></tr><tr><td valign="top">Image Number</td><td valign="top">[Number] Sequential number of the found image. Numbering starts from zero.</td></tr><tr><td valign="top">Comparison Type</td><td valign="top">Selection of the image comparison type.</td></tr><tr><td valign="top">Match Threshold</td><td valign="top">[Number] Match threshold. The value is set in percentage from 0 to 100.</td></tr><tr><td valign="top">Simulate Movement</td><td valign="top">When enabled, the mouse cursor movement will be simulated from the current position to the calculated point of the block.</td></tr><tr><td valign="top">Wait Time</td><td valign="top">[Number] Maximum wait time for the image to appear in seconds.</td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that blocks will output during execution. Possible values:</p><ul><li>"Default" - default;</li><li>"Release" - output is disabled;</li><li>"Debug" - main information output;</li><li>"Detailed" - detailed information output.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/en/sherpa-rpa/sherpa-designer/spravochnik-blokov/izobrazheniya/klik-po-izobrazheniyu-s-ekrana-clickimagescreen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
