Skip to main content

Move mouse

Sophie avatar
Written by Sophie
Updated over 2 weeks ago

Definition and Usage

Move mouse to a specific position on the screen. This action allows you to precisely position the mouse cursor at defined coordinates, which is useful for automation workflows that require mouse interactions with specific screen elements.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

Relative to

Defines the reference point for mouse positioning

Screen top-left corner

Yes

Use as the origin point for coordinates

X-coordinate

Horizontal position of the mouse cursor

Numeric value

Yes

Measured in pixels from the reference point

Y-coordinate

Vertical position of the mouse cursor

Numeric value

Yes

Measured in pixels from the reference point

Movement speed

Controls how fast the mouse moves to the target position

Medium speed

Yes

Options include different speed settings

Advanced settings

Parameter

Description

Possible Values

Required

Options / Notes

Wait after execution (s)

Wait for a specified number of seconds after the action is executed

Numeric value

No

Default: 1 second

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This action doesn't produce any variables.


Using Variables in Conditions

You can use variables in the coordinate fields by clicking on the {x} icon. This allows you to dynamically set mouse positions based on values calculated or retrieved earlier in your workflow. When using variables, ensure that the variable contains a numeric value that represents a valid screen coordinate.


Notes

  • You can capture the current mouse position by pressing Ctrl+Alt to automatically fill the coordinate fields.

  • The interface displays the current mouse position relative to the screen top-left corner for easier positioning.

  • Ensure that the specified coordinates are within the bounds of the visible screen to avoid errors.

  • Different movement speeds might be useful depending on your application needs - slower speeds can be more reliable for precise interactions.

Did this answer your question?