Motion
Get Motion

ReferenceScripting APIMotionEventsdrag

MotionEvents.drag

property

The pointer moved with a button held: where (0 to 1), how far since (0 to 1), and the button.

Namedrag
Kindproperty of MotionEvents
Called asevents.drag
Since0.4

Syntax

drag: (x: number, y: number, dx: number, dy: number, button: number) => void