Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | punyi23 |
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