- Edited
I just added a TouchScreenButton to an existing project and tested it with an Android export from Godot 4.3-dev1. It worked correctly.
To test it, I added a child Label to it and attached this script, which increments a displayed count on each button press:
extends TouchScreenButton
func _ready() -> void:
$Label.text = "0"
pressed.connect(func(): $Label.text = str(int($Label.text) + 1))
I generally use normal buttons, which for Android require enabling the project setting input_devices/pointing/emulate_mouse_from_touch, but that's not needed for a TouchScreenButton.