Copyable Example Code
You can paste this into the code editor; still verify target image, region, color, text, and timing values in your own device flow.
-- Basic swipes
-- GesturePoint(Point(x, y), holdMs, moveMs)
-- Scroll a list up
swipe({
GesturePoint(Point(540, 1500), 0, 0),
GesturePoint(Point(540, 500), 0, 400)
})
wait(500)
-- Switch page sideways
swipe({
GesturePoint(Point(900, 960), 0, 0),
GesturePoint(Point(180, 960), 0, 300)
})
wait(500)
-- Slow swipe for precise control
swipe({
GesturePoint(Point(540, 1200), 0, 0),
GesturePoint(Point(540, 800), 0, 1000)
})
toast("Swipes finished")