How can i detect touch move in mobile?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By att2018

as the tile,
I want to detect touch move on mobile, but I just can detect touch begin and end.
How can I check touch moving events ?

:bust_in_silhouette: Reply From: eska

Input events of type InputEventScreenDrag are emitted whenever a touch point moves. You can retrieve these events from the _input(ev) or _unhandled_input(ev) callback.

For GUI (Control-inheriting) nodes, you can also use the _gui_input(ev) callback (called _input_event in 2.1).

Thank you very much.

att2018 | 2018-07-10 14:07