ApplesauceOS
Read Markdown ↗Download .md

touchMove

Move an existing finger contact.

js
touchMove(finger, x, y)

Arguments

ArgumentTypeMeaning
fingernumberReuse the same identifier throughout the gesture.
x, ynumberNative screen pixels.

Returns

No return value (undefined).

Example

js
// Coordinates must belong to the current screen.
touchDown(1, 100, 300);
try {
  touchMove(1, 100, 250);
} finally {
  touchUp(1, 100, 250);
}

Notes

Coordinate examples are illustrative, not portable selectors.

All JavaScript APIs · Automation playbook