Y 0 on Udim2 isnt the top of the screen?

In my studio, Y0 is shown as the top of the screen, and the values match this.
image
image
But once I load into the game in studio, the top of the screen is suddenly offset down, below where the topbar would be.


, but the values never change.
image

The same behavior above is also displayed in game.
I have no idea why it’s doing this, I’ve also noticed these weird lines at the top left of the screen, no clue what they are but only the studio client shows this, not the game client.
image

But the above also looks like a rendering error where for whatever reason this text doesnt get removed when I close the script…
image

image
Still extremely random…

TL;DR Roblox studio is a buggy mess rn, why am I having the first issue, though?

1 Like

I don’t think it’s a bug. The top bar does this even if it’s disabled.
You would have to go to -36 or -37 Y (ON OFFSET).

1 Like

I’ve never noticed this behavior, has it always offset for the top bar? if so I never noticed.

It’s been like this for a while. Yes, most don’t notice this behavior.

1 Like

Set ScreenGui.IgnoreGuiInset = true

2 Likes

I will try this once I reinstall studio :skull:

1 Like

Sorry for so many replies,
I would recommend using an X anchor point of 0.5 and setting the X position to 0.5 as opposed to having the position be offset to account for the size.

Thank you, this fixed it, cant believe I’ve never noticed this behavior before.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.