Is it possible to make two different UI for mobile and PC players using the same game?

I’ve been developing the UI for my game and I’m having serious trouble with making a UI that looks clean on both devices. The problem is the jump button on mobile is right dab in the center where I want the UI to be. I moved the main menu upwards and out of the way.

V Mobile V

V PC V

Is there an “easy” way to do this? A simple programming trick to trigger which UI should be visible by determining what platform the player is on? Thanks.

1 Like

yes its possible using userinputservice to check if a player on mobile then show the mobile ui and vice versa but you have to premade both of ui

1 Like

I’ve been looking into userinputservice but unfortunately I’m pretty bad with programming, haven’t been able to figure out how to work with it. Would you happen to know how to write the function to do as such?

2 Likes

here is a free script

local mobile = game:GetService("UserInputService").TouchEnabled and not KeyboardEnabled

if mobile then
   --show mobile ui
else
   -- show pc ui
end
5 Likes