# Set Cursor

The block allows you to set the cursor on any element and control its movement.

<table data-header-hidden><thead><tr><th width="228" valign="top"></th><th width="320" valign="top"></th></tr></thead><tbody><tr><td valign="top">Selector</td><td valign="top">[Selector] The identifier of the user interface element. If the selector is specified and the element is found, the cursor is set on this element.</td></tr><tr><td valign="top">Process ID</td><td valign="top"><p>[Link] A variable that stores the process identifier. Indicates which application needs to be worked with.</p><p>If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground.</p><p>When working with browsers, the process ID additionally points to a specific browser tab that the block should work with.</p><p>If the property is left empty, or if the process ID variable was not previously assigned at the moment of launching the application or opening the browser, the application and browser tab will be determined from the content of the corresponding selector line.</p><p>The process ID can be obtained, for example, using the Launch Application or Get Process blocks.</p></td></tr><tr><td valign="top">Movement Commands</td><td valign="top">[Text] Movement commands. Possible options can be viewed in the expression editor in the tooltip "Cursor Movement Commands".</td></tr><tr><td valign="top">Return Value</td><td valign="top"><p>[Text] Specifies the names of the attribute keys to be returned after the movement is completed. For example: "Name,ClassName,Id,ControlType".</p><p>Possible values can be viewed in the expression editor in the tooltip "Element Attribute Keys".</p><p>Separators can be characters: , ; | /</p></td></tr><tr><td valign="top">Highlight Movement</td><td valign="top">When enabled, the current position of the cursor will be highlighted.</td></tr><tr><td valign="top">Delay Before</td><td valign="top">[Number] Delay in seconds before executing the block.</td></tr><tr><td valign="top">Delay After</td><td valign="top">[Number] Delay in seconds after executing the block.</td></tr><tr><td valign="top">Timeout</td><td valign="top">[Number] The maximum wait time for the specified element in seconds.</td></tr><tr><td valign="top">Result</td><td valign="top">[Text] Returns the values of the specified attributes.</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 of 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 operation. Possible values:</p><ul><li>"Default" - default;</li><li>"Release" - output is disabled;</li><li>"Debug" - outputs main information;</li><li>"Detailed" - outputs detailed information.</li></ul><p>If "Default" is selected, the value of 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>
