Hello, I'm experiencing an issue where the button nodes in my mobile game aren't working after exporting it to a mobile phone. but they function perfectly within the Godot Engine on PC when i'm editing on it.

here is my code for ui manager script


You should verify that the *_pressed() functions are not getting called. On a mobile device, an easy way to do that is using a Label to display diagnostic information.

Are you pressing the buttons with a mouse on the PC, and the touchscreen on the mobile?

What kind of buttons are you using? ( I don't know all the node icons.)

Is these settings enabled?
Project Settings / General / Input Devices / Pointing / Emulate Touch from Mouse?
Project Settings / General / Input Devices / Pointing / Emulate Mouse from Touch?