touch

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
NameTypeRequiredDefaultDescription
stream_or_fingertouch_stream|integerRequired—
xnumberRequired—
ynumberRequired—
Return Values
TypeDescription
touch_streamUpdated stream (stream form only)
Example
lua
stream = touch.move(stream, 400, 700)