Skip to content

Drag OS mouse

Description

Drags the mouse starting at the input position from and ending at the position to.

Input Ports

Name dataType sourceType required description
Mouse button text manual-only true Allows you to choose between the left and right mouse button to drag with.
From X, Y position link-manual false Where the mouse should move to before it is pressed.
To X, Y position link-manual false Where the mouse should move to before its released.

Scenarios

  • The user wants to drag the mouse from one point to another using the left mouse button.
  • The user wants to drag the mouse from one point to another using the right mouse button.

Use case

Command

Inputs
  • Button: Left
  • Position from X: 300
  • Position from Y: 240
  • Position to X: 20
  • Position to Y: 30
Experienced tips
  • If the Button is not chosen, the default will be the left mouse button.
  • If no target coordinates are specified, the mouse button will be pressed at position X: 0, Y: 0 and dragged to the position to coordinates.
Search Tags

drag mouse to coordinates