Skip to main content

Region():multiSwipe()

Perform up to 10 fingers swipe simultaneously within the region. Each finger operates on its own independent timeline.

Signature

multiSwipe(fingers: List<List<SwipePoint>>): void

Returns

void

Parameters

ParameterTypeDescription
fingersList<List<SwipePoint>>A list of finger paths. Each finger path is a list of SwipePoint values. Minimum 2 points per finger. Maximum 10 fingers.
tip

This method works the same as Screen:multiSwipe(). See that page for detailed parameter behavior, timeline examples, and limits.

Example

local region = Region(0, 0, Screen:width(), Screen:height())
region:multiSwipe({
{
SwipePoint(500, 800, 50, 0),
SwipePoint(500, 400, 50, 1000),
},
{
SwipePoint(600, 800, 50, 0),
SwipePoint(600, 400, 50, 1000),
},
})