0 votes

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 ?

asked 6 days ago in Projects by att2018 (16 points)

1 Answer

0 votes

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).

answered 6 days ago by eska (860 points)

Thank you very much.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.