🔥 Gesture handler extension for MIT App Inventor 2 and its clones like Kodular.
Latest version of the extension (.aix) can be downloaded from the Releases tab.
( AndroidViewComponent component
, Number id
)
Registers the specified component so that it starts detecting gestures.
Params | |
---|---|
component |
AndroidViewComponent: The component on which you want Drift to detect gestures. |
id |
Number: A unique number which is used to indentify the specified component when an event fires. |
( Number id
, Number fingers
)
Fires when a double tap gesture is recognised.
Params | |
---|---|
id |
Number: A unique number which is used to indentify the specified component when an event fires. |
fingers |
Number: The number of fingers used to perform the gesture. |
( Number id
, Number fingers
, Number duration
, Number distance
, Number speed
)
Fires when a pinching in gesture is recognised.
( Number id
, Number fingers
, Number duration
, Number distance
, Number speed
)
Fires when a pinching out gesture is recognised.
( Number id
, Number fingers
, Number duration
, Number distance
, Number speed
)
Fires when a swiping down gesture is recognised.
( Number id
, Number fingers
, Number duration
, Number distance
, Number speed
)
Fires when a swiping left gesture is recognised.
( Number id
, Number fingers
, Number duration
, Number distance
, Number speed
)
Fires when a swiping right gesture is recognised.
( Number id
, Number fingers
, Number duration
, Number distance
, Number speed
)
Fires when a swiping up gesture is recognised.