How do I make the UI fit for all devices?

I tried adding UIAspectRatioConstraints to everything and using the AutoScale Lite plugin, but neither worked. On laptop, the UIs are too close to the middle. On mobile, none of the UIs show up at all.

Studio:

Laptop:

(Couldn’t get a mobile screenshot but none of the UIs show up anyway so it doesn’t matter.)

Another problem is that when the UIs become visible. The player’s mouse hides when in the game window. How would I get the buttons to be in the positions they are in Studio but for all devices? And how would I stop the mouse from hiding when in the game window?

I can’t explain it as well as the many other posts that have already been done about this scaling issue.
Try the Search bar up top using terms like ‘ui scaling devices’ or ‘GUI wrong size’ or ‘gui different screen size’.

1 Like

What about the problem with the mouse hiding?

1 Like

Also I did search for posts along those lines but none of the solutions worked

1 Like

Someone please help…

1 Like

Please?

1 Like

Please, don’t use plugins like this. This causes your UI to get squashed on phones and tablets.

1 Like

Whenever you set the position or the size there are 4 numbers such as {0,0,0,0}. What you need to do is whenever you change them, only change the first and third numbers.
Example: {.3,0,.5,0}

1 Like

I tried the plugin and it didn’t work

1 Like

I did this and it still didn’t work

1 Like

Show screenshots of your UI Properties for the GUIs you are using. We may be able to help if you show us what you are doing.

1 Like

Okay, the GUIs are working now, I checked again and the GUIs did have offsets. However, the mouse still hides whenever on the Roblox window, and whenever in the game window in Studio. Anyone know how to fix that problem?

1 Like

Is the mouse actually hidden, or is something changing the mouse icon to make it less visible/invisible?
Can you check if the mouse is actually over the GUIs by clicking constantly while moving the mouse?

Is there actually a mouse icon on touch screen devices? Or is this happening on your computer screen too?

1 Like

It’s hard to tell when the mouse is over the GUIs because it’s invisible, but when clicking them, they flash a bit.

Ima just make a new post for the mouse hiding thing since it’s a different problem

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.