UI with height of zero still isn't at the top of the screen

Hey, and thanks for reading in advance.

Does CoreGui follow a different set of rules or something? I’ve got UI elements with a Y coordinate of 0,0 that are at the top of the viewport when editing in studio, but in game:

They’re slightly below the top of the screen. More befuddling is that the CoreGui buttons for chat and menu are higher than my UI. I can get them there with a negative Offset, but I don’t understand why I’m having to do that. Is there some kind of setting I missed that disables this?

1 Like

CoreGui’s have reserved a 36 pixel gap on the Y axis by default for quite some time.

You can either set your UI position Y offset to -36, or set your ScreenGui’s IgnoreGuiInset property to true.

4 Likes

Oh. There was a setting a missed - and one I knew existed for quite a while, but didn’t actually know what it did. Well, I feel dumb.

Thanks, though!