0 votes

Hello again Godoters,

I wanted to call an Input from here:

In that other part of the code to make the touchscreen controls:
I simply want to replace the "# OS.alert" with a keys that is in the Input function.

If someone who understands this subject can help me I would be very happy and grateful :D

in Engine by (145 points)

Do you know that you can use TouchScreenButton nodes to fire Input actions?

TouchScreenButton can auto-hide if not on mobile and use the same action mapped for other forms of input (used with events and Input).

Thanks eons, I searched the internet and found this video:

I hope this helps somebody :)

Please log in or register to answer this question.

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.
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 webmaster@godotengine.org with your username.