ReferenceScripting APIMotionEventspress
MotionEvents.press
propertyA button of the pointer pressed (down) or let go: where (0 to 1), and which (0 the main one).
| Name | press |
|---|---|
| Kind | property of MotionEvents |
| Called as | events.press |
| Since | 0.3 |
Syntax
press: (x: number, y: number, button: number, down: boolean) => voidNotes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.