What is the max screen size?

I’ve attempted to solve this question through the Dev Forums but haven’t got any answers. I am currently making a full screen GUI but I have no idea how big the screen size is.

I originally thought "Oh it’s gotta be 1000 x 1000 right? But no.

I then thought well hey decimals will just divide the space right? Well yes, but no.

As much as size works here position then becomes an issue, if I set the position to (0.5, 0) (0.5, 0) then the left and top sides are set at 0.5 so I end up with something like this.
These are the properties

And this is what it looks like in game;

As you can see clearly the top left corner stats at the middle of the screen, how do I account for this so the GUI’s centre is matched to the points (0.5, 0) (0.5, 0)?

1 Like

Set the Frame’s AnchorPoint to 0.5, 0.5.

3 Likes

To make a full screen GUI, make the Size (1, 0, 1, 0). The 1 means that it takes up 100% of the axis, since you’re now using scale and not offset. There is no “max screen size”–4k monitors are 3840 x 2160.

To center it, make the AnchorPoint (0.5, 0.5) and set the position to (0.5, 0, 0.5, 0).

13 Likes

@Kampfkarren @TJT01 Thank you both very much! :smiling_face_with_three_hearts:

2 Likes