Touch screen buttons visibility

Godot Version

4.3

Question

how do I make the touchscreen buttons visible only if the player is playing from the phone?

Try this:

if OS.get_model_name() != "GenericDevice":
   print("This device is phone")
   #Show all touch screen buttons from here