Screen width and height, how to bypass?!

There’s so many questions on this, and not really any useful answers. Using Screen.height seems so bugged, I’m trying to place something in lower left corner, so I put in the y coordinate as screen height minus the height of the button, and it places it somewhat right, now, if I build and change resolution, all of a sudden the button is halfway up the window, and even worse on higher resulotions. How do you work with this?!

There’s nothing bugged about it. You don’t need to bypass it, you just need to use it correctly. I assume you’re doing something like storing the screen height instead of using it dynamically.

function OnGUI () {
 GUI.Label (Rect(0, Screen.height-20, 100, 20), "Works fine");
}