TouchScreenButton doesn't work on android

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Matteo

Hi guys, I have a problem, i’m trying to do a main menu for my android game, when I press the TouchScreenButton in the computer it works but when i export the game in my phone it doesn’t work, I don’t have idea of the problem

:bust_in_silhouette: Reply From: phiz

Share your input handling code. Perhaps the only sort of InputEvent that it’s detecting isn’t applicable for mobile devices, where you might want InputEventScreenTouch or InputEventScreenDrag.