You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a TouchScreenButton node and, when I use the is_pressed() bool in the _process function it works well in Windows while testing but, when I try to debug on Android, the long press only lasts for about 1 second and then it stops working. I tried it with different buttons and the problem persists.
But, when I click the TouchScreenButton and I touch somewhere else on the screen, it appears to work like normal.
Steps to reproduce
func _process(_delta):
if touchbutton.is_pressed():
print("pressed")
On Android, try to press the button and see if the print is consistent in console. For me, it only shows a few lines and then it stops showing anything, which means it stops the long press after a second.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
Tested versions
Reproducible in 4.2.1
System information
Android 13
Issue description
I made a TouchScreenButton node and, when I use the is_pressed() bool in the _process function it works well in Windows while testing but, when I try to debug on Android, the long press only lasts for about 1 second and then it stops working. I tried it with different buttons and the problem persists.
But, when I click the TouchScreenButton and I touch somewhere else on the screen, it appears to work like normal.
Steps to reproduce
On Android, try to press the button and see if the print is consistent in console. For me, it only shows a few lines and then it stops showing anything, which means it stops the long press after a second.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: