Not sure if restricted to Android but TouchScreenButton
has the visibility mode option where you can put TouchScreenOnly
.
Also via code with set_visibility_mode
.
In project settings>display you can toggle emulate touchscreen to see the buttons in touch screen only mode.