Set Cursor Location

The Set Cursor Location block moves the cursor to a specific location on a green screen and sets it based on an exact row and column position.

The Green Screen Recorder and green screen building blocks are available with Enterprise plans.

Fully expanded, the Set Cursor Location block shows the following properties:

image-20260203-143149.png

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 Set Cursor Location onto the canvas.

  2. Connect the block in the flow and specify Position. Optionally adjust timeout-related settings if needed.

  3. Run the flow when it’s ready.

Building block parameters

Parameters
  • Block header: The green input connector triggers this block to begin execution. The green output connector is triggered when the cursor location has been successfully set. You can rename the block by double-clicking the header text and typing in a new title.

  • Position: Defines where to set the cursor, based on a row number and column number.

  • Error occurred: This output connector triggers if Set Cursor Location returns an error during execution. Use it to branch the flow for error handling.

  • Default timeout: Controls whether the block uses the default timeout from the flow settings or a custom timeout value.

Resources

Topic

Description

Flows FAQ

Common questions about creating, running, and managing flows in Leapwork.

Flows Troubleshooting

Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.