How would you change/add GUI when a player is on mobile/console?

Ive searched online but I didnt really get a concrete answer, so how would you do that?

I’ve made a sprint thing for my game, but its only useable on keyboard, which is a problem. So How would I make a GUI that only enables when a player is on mobile?

1 Like

its like everywhere… link1 link2 link3 (i recommend

You need to use “UserInputService” to detect the player device, here a video about it:

Is this what you wanted? This also works in console, and there is also sprint button script for console.

I actually used this but edited for “Disabling run in certain area”.