Esentially, I was making this small mobile app with Godot, since it’s good some good UI elements that are easy to use, but the buttons are very hard to click. When you click them you need to basically not move your thumb at all and press the button very quickly because otherwise the input doesn’t go through. My buttons are really big so that’s not the issue. Emulate mouse from touch is on in the project settings. Also, the buttons work fine when clicking them on my desktop. Making them activate as soon as you’re touching them could fix the issue, but it would make the animation I have not make much sense, and I want to keep the animation to make the app feel smoother. (my animation lerps the button scale: when you are clicking the button its size decreases to 0.9, and when you release it, it goes back to 1.0)
Well, if pressed isn’t behaving the way you hoped, you could (I think?) use the gui_input signal and look for InputEventScreenTouch. That ought to have enough info for you to drive your buttons off touch input, and let you differentiate between touch and mouse.
That is very odd behaviour and not normal at all. Normally when you have input lag you have to press and hold the button to get the input firing. I can only imagine this happens if your are firing on button released signal, not the button pressed signal.
Ahh, so you are detecting button released, not button pressed. Otherwise this is very confusing too.
A button can be set still to be considered pressed on release, depending on how the action mode (in the inspector) is set. What is your action mode set to?
Button release
Also, the button is in a scroll bar, so I set the mouse mode to pass. This makes it so you can still detect the button, but you can scroll through the list.
Also, my phone is at 5% right now but when I charge it I can record a video
It looks like the app want to scroll instead of activating your button. Every other button seems to work fine ? How do you do the scroll mechanic ? I’m not familiar with scrolling but it really seems to be the issue here, like if the scrolling area is on top of the button or something ??