This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

For example I need the event responding like "swipe "and "touch" even for android.

Can't find it in the documemnt

in Engine by (16 points)

3 Answers

0 votes

There are some assets in the library to help with swiping. Touch events are handles just like mouse clicks.
https://godotengine.org/asset-library/asset?category=&godot_version=&sort=updated&filter=swipe

by (654 points)
0 votes

I didn't really find some when starting with android but the most helpful thing i noticed was that indexes stay until you lift the finger, so a swipe will start with a InputEventScreenTouch, emits InputEventScreenDrag through all the swipe action and ends with another InputEventScreenTouch. all with the same Index.

if you need more tips just send me you discord name or something and i will gladly help you and pass my knowledge on

by (1,205 points)
0 votes

Check the version of documentations, Because i think you used an old version:

by (25 points)
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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.