touch.touch.move
Declaration
lua
touch.move(stream_or_finger, x, y)
Description
Move touch. Stream form: interpolated path with step_len/step_delay. Finger form: instant move.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
stream_or_finger | touch_stream|integer | Required | — | |
x | number | Required | — | |
y | number | Required | — |
Return Values
| Type | Description |
|---|---|
| touch_stream | Updated stream (stream form only) |
Example
lua
stream = touch.move(stream, 400, 700)