I am using an input map configured with the name "test" for the left mouse button, in my scene I am using the following code:
while running in the editor works perfectly, but when I export to android it just does not recognize and does not take any action.
Note: I used the InputEventScreenTouch event, okay it works on android, but it issues the event twice, one for preloaded and one for dropping.
Note: I used the event is InputEventScreenTouch, okay it works on android, but it issues the event twice, one for pressed and one for dropping.
I've also tried using event is InputEventScreenTouch and event.is_pressed(), got very close to the expected result, but there is a small delay and it is not good for my game because it is a game based on flappy bird.