Auto detect touch screen

hi I made a game that uses a keyboard or gamepad but I want to add touch screen support so I was wondering how do I have the game automatically detect if a touch screen device is being used and display the correct control scheme?

There is a condition device has touchscreen.
But don’t use it to turn off the other controls, just to show the screen controls. And maybe have a toggle in settings to Hide Screen Controls.

1 Like