flick

in Japanese(日本語)

A single fast finger stroke — screen (or scrollFrame) based, in one of 8 directions.

Functions

function description
flickCenterToTop(scrollFrame:, durationSeconds: 0.25, maxGestureSeconds:, repeat: 1, intervalSeconds: 0.3, settle:) / flickCenterToBottom / flickCenterToLeft / flickCenterToRight Flicks from the center of the screen (or scrollFrame) toward that edge. durationSeconds is capped at 10 seconds by default — pass maxGestureSeconds: to allow up to 60 for this one call.
flickLeftToRight(scrollFrame:, startMarginRatio:, durationSeconds: 0.25, maxGestureSeconds:, repeat: 1, intervalSeconds: 0.3, settle:) / flickRightToLeft Flicks edge to edge, horizontally. startMarginRatio defaults to the same value scrollRight etc. use (0.2). Same durationSeconds cap as above.
flickBottomToTop(scrollFrame:, startMarginRatio:, durationSeconds: 0.25, maxGestureSeconds:, repeat: 1, intervalSeconds: 0.3, settle:) / flickTopToBottom Flicks edge to edge, vertically. Same durationSeconds cap as above.

settle: false skips this command's post-action wait for the screen to settle (the next step may see a moving screen). See tap for details.

Example

flickLeftToRight()                          // one quick horizontal flick, whole screen
flickCenterToTop(scrollFrame: "#carousel")  // flick inside a specific scrollable region

Notes