---
version: "2026.1.0"
language: "en"
---
# Get Cursor Location

﻿

The **Get Cursor Location** block retrieves the current cursor position on a Green Screen session as **row and column coordinates**, so you can reuse that position in other Green Screen blocks.

**Note:** The Green Screen Recorder and Green Screen building blocks are available with Enterprise plans.

Fully expanded, the **Get Cursor Location** block shows the following properties:  
![image-20260127-155824.png](https://docs.leapwork.com/__attachments/a_f381dd6ab44f9ac94497dcf10ff2a3f8b384364c4efdcd3ee793a794f6c93e64/image-20260127-155824.png?cb=4593581cca34f31c758605b004810277)

**Note:** The screenshot on this page uses the **Elegance Design** , introduced in **2025.3**. If you are using an earlier version, your layout may look different.

## Quick-start

1. Drag **Get Cursor Location** onto the canvas.

2. Connect its **input** from the previous block and its **output** to the next block.

3. Run the flow.

## Building block parameters

Parameters  
* **Block header:** Shows the current title of the **Get Cursor Location** block. You can rename it by double-clicking the header and typing a new title. The green input connector triggers the block when the flow reaches it, and the green output connector triggers when the cursor location is fetched successfully.

* **Position:** Returns the cursor location as a position value (row/column). You can expand it to work with the coordinates separately.

* **Not found:** Triggers if the cursor location cannot be retrieved before the timeout.

* **Default timeout:** If unchecked, the timeout is **10 seconds** unless you change it manually. If checked, the block uses the **Default timeout** defined in the flow settings (under **Max. run time** ).

* **Timeout** : The maximum time spent trying to retrieve the cursor location before giving up and triggering **Not found** . This value is used when **Default timeout** is unchecked (default is **10 seconds** unless changed manually).

## Resources

|                                                **Topic**                                                |                                                  **Description**                                                  |
|---------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
| [Flows FAQ](https://docs.leapwork.com/faq/latest/leapwork-flow-faq/flows-faq.md)                                                 | Common questions about creating, running, and managing flows in Leapwork.                                         |
| [Flows Troubleshooting](https://docs.leapwork.com/troubleshooting/latest/leapwork-flow-troubleshooting/flows-troubleshooting.md) | Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |