中文
Node Documentation

Drag pointer

AutomationConfigured target requiredmouse.drag

Press, move with the selected motion, and release inside the configured target.

Example use

Provide start/end points and a duration to drag an object within the target window.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

Data inputs 5

Start pointfromPoint

The point where dragging starts.

Default availableDefault: {"unit":"ratio","x":0.5,"y":0.5}
Value format examples
{"unit":"ratio","x":0.5,"y":0.5}
{"unit":"px","x":640,"y":360}
End pointtoPoint

The drag destination, using a coordinate unit compatible with the start.

Default availableDefault: {"unit":"ratio","x":0.5,"y":0.5}
Value format examples
{"unit":"ratio","x":0.5,"y":0.5}
{"unit":"px","x":640,"y":360}
Pointer buttonbuttonPointer button

The mouse button to use; available options are listed below.

Default availableDefault: "left"
  • Options: "left", "right", "middle"
DurationdurationDuration (milliseconds) · ms

The duration of the action, in the displayed unit.

Default availableDefault: 300
  • Minimum: 0
  • Maximum: 86400000
Value format examples
1000
MotionmotionPointer motion

The mouse movement style, such as instant, linear or curved; see the options below.

Default availableDefault: "linear"
  • Options: "instant", "linear", "bezier"

Configuration 1

Window target slotslotText

Select a target bound to an application path, window title, and window class.

RequiredDefault: None
  • Minimum characters: 1
  • Maximum characters: 128
  • Pattern: ^[a-z][a-z0-9]*(?:[-_][a-z0-9]+)*$

Control and error ports

InputinInput · Control
An incoming control signal enters this operation.
CompletedcompletedOutput · Control
Continue from this result or stage; see the node description for branch conditions.
FailedfailedOutput · Error
Emitted when the operation fails; connect error handling here.
Version and node identity

Version 1.0.0

sha256:87b6a0e3d60374cf727b413ea4dbe2d61b9fbdcea2af47447486ec04fba08316