touchMove
Move an existing finger contact.
js
touchMove(finger, x, y)Arguments
| Argument | Type | Meaning |
|---|---|---|
finger | number | Reuse the same identifier throughout the gesture. |
x, y | number | Native 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.