How to scale the GUI according to screen resolution?

Please, I would like to know how to change scale GUI according to screen resolution, more or less know who is with the GUI matrix, but I have no idea how to do this, please be able to give me an example in javascript, I would greatly appreciate it?

This is my first post here. :slight_smile:

Thx in Advance

Hi, welcome to the forum!

There’s some code and explanation about using the GUI matrix in this thread.

Thanks for your help, I’ll try and post here if I can do.