+2 votes

Hi everybody, I'm on a little trouble with touchscreen buttons, here is what I'm trying to achieve:

By default when you're pressing a touchscreen button and then you move your finger around the screen the button keep pressed and I don't want it, I want that if your finger is out of the touchscreen button frame activated the release event.

Also, I was trying that when you move your finger around the screen and you pass above another touchscreen activated the pressed event.

I'm sure I can achieve this calculating positions with drags and so on, but I was wondering if there was a cleanest method to do this.

I'm currently working on Godot 3.0.6

Thank you for advance

in Engine by (61 points)

1 Answer

+6 votes
Best answer

Turn on Passby Press from the Inspector

by (4,085 points)
selected by

Lol, so easy. Sorry for the inconvenience. Thank you.

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.