Greetings,

I wrote a GUI script recently and while scripting a question came up in my mind.
Basically I created one main GUIControl with some more controls added to it.

Doesnt matter but I defined the position of a GUIControl (x and y axis).

I have optimized the position and scaling to my 1920x1080px monitor.
The question is if someone with f.e. a 4k resolution monitor joins the server will the gui be somewhere in the middle of the screen? Or with a smaller monitor even outside of the screen?

Is there a way to define position and scaling in % or a script to get the screensize of the device?

Thanks for the help =)