Is there any way to get the size of a users' screen in a unit such as millimetres, centimetres, inches, etc.? I am trying to create GUIs that will display on the screen as a specific size.
Example: I want a display to be 10x12 cm on all displays, regardless of the size or resolution of the display.
Edit below:
Take two example displays with an X resolution of 1920: Display1 Width: 10 inches Display2 Width: 20 inches
Pixel density (PPI) of the displays (resolution/size): Display1: 192px/in Display2: 96px/in
A frame on both displays with a width scale of 0.5 (1920/2PPI or WidthInInchesscale) Display1 Frame Width: 5in Display2 Frame Width: 10in
5 ~= 10
This is the problem I want to solve. I do not want the GUI to scale to the display. I also do not want to base it off of pixels because of variation in pixel density.
Using the previous example displays, a frame with a width of 500px: Display1 Frame Width: 2.6in (approximation) Display2 Frame Width: 5.2in (approximation)

1 comment
No point, Roblox done the work for you, e.g (0.5,0,0.5,0)