ReferenceScripting APIMotionEventsdrag
MotionEvents.drag
propertyThe pointer moved with a button held: where (0 to 1), how far since (0 to 1), and the button.
| Name | drag |
|---|---|
| Kind | property of MotionEvents |
| Called as | events.drag |
| Since | 0.4 |
Syntax
drag: (x: number, y: number, dx: number, dy: number, button: number) => voidNotes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.