Hide the Movement UI When controller is connected

So I have my game set up for Mobile devices, I have all the buttons set up for touchscreen movement in a seperate layer,
But I want to be able to hide this layer (Joystick-Buttons) When a controller is connected via Bluetooth, any way to make this happen, or am i thinking to advanced? Thank you :slight_smile:

HI i believe this will help (requires gamepad extension)
code1
to my knowledge, it is not possible to detect if it is connected VIA Bluetooth so this will hide the controls if the controller is connected via a wired or wireless connection

1 Like

forgot to add, you can also hide the layer that the controlls are on, you can also detect if there is any input then hide it and if screen is touched, then show the UI like this:

1 Like