# Set cursor

This is a pre-built action located under the **Mainframe List Element**. The functionality of this action in Avo Assure is to set the cursor to a specified location in the mainframe.

### Syntax

**Input Value:** `<Row Number>;<Column Number>` &#x20;

| Argument                                 | Description                                                                           |
| ---------------------------------------- | ------------------------------------------------------------------------------------- |
| <p>\<Row Number></p><p>(Required)</p>    | Specify the X-coordinate on the emulator screen where the cursor should be positioned |
| <p>\<Column Number></p><p>(Required)</p> | Specify the Y-coordinate on the emulator screen where the cursor should be positioned |

**Output Value:**

| Argument                                                     | Description                                                     |
| ------------------------------------------------------------ | --------------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable> (Optional) | This dynamic variable holds the result as **True** or **False** |

**Example**

**Performs setting of the cursor at a specific position on the emulator screen**

The **Set cursor** action takes the value from the Input Value column (e.g., **24;017**) and positions the cursor at the defined row and column (Coordinates) on the screen.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FptO2pBSxFf1tKoARn8z8%2Fimage.png?alt=media&#x26;token=636f169e-b8a9-4fc9-9cac-ba9b22c4d0c5" alt=""><figcaption></figcaption></figure>
