ReferenceScripting APIMotionEventslayerClick
MotionEvents.layerClick
propertyA click on a layer (the top one drawn there): its id, and where (0 to 1).
| Name | layerClick |
|---|---|
| Kind | property of MotionEvents |
| Called as | events.layerClick |
| Since | 0.4 |
Syntax
layerClick: (layer: string, x: number, y: number) => voidNotes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.