How Do You Make GUI Buttons Remain in the Same Place No Matter the Resolution?

Hello guys.

I am making a main menu and I have placed some buttons and a slider, although when I start the Unity project on another PC, the buttons go to completely different places. Is there a way I can make them stay in the same position no matter the resolution? If there is a code, would you please let me know where to place it too?

Thanks in Advance.

Yours Truly,
Unity Newbie…

Are you talking about the new UI system or the GUI class? Either way, a simple google search brings tons of answers to this.

https://docs.unity3d.com/Manual/HOWTO-UIMultiResolution.html