pointerpointer.drag

Drag

Drag from one screen point to another.

Inputs

3
InputValue typeRequirementAccepted sources
StartfromDrag start point. Value type: screen-ratio point {x, y}, where 0..1 maps to the device frame. Literal only.pointRequiredliteral
EndtoDrag end point. Value type: screen-ratio point {x, y}, where 0..1 maps to the device frame. Literal only.pointRequiredliteral
Duration msdurationMsMove duration after the initial hold. Value type: number in milliseconds. Drag presses down, holds for 1000 ms, moves for durationMs, then releases.numberOptionalliteral

Outputs

3
Output pathValue typeCoordinate space
data.frompointscreenRatio
data.topointscreenRatio
data.durationMsnumber

Runtime support

DesktopSupported
Android AgentSupported