How to stop a billboard gui from expanding when getting closer

When im far away: (ive set scaled size so its always the same size no matter how far you go)

When im up close:

I want it to just stay the same size at all times so even when im up close, they are the same size.
How do i do this?

2 Likes

Have you tried searching on Google? Don’t know it’s this is exactly what you’re looking for but I think I have seen gui size with distance issues solved many times

1 Like

This is happening because when you set your BillboardGui’s size by Scaled rather than Offset, the billboard is now scaled in studs in the 3D world. You can almost think of it like a physical object, when you bring your camera close, it will fill more of your screen as you press your face against the billboard.

The reason why the text doesn’t expand after a certain point is because Text has a maximum possible render size within Roblox even when using Text.Scaled = true or affecting it with UIScale.

You can tweak the size by combining Scale & Offset to your liking, and also make use of UISizeConstraint :slight_smile:

Scale only vs Offset only sizing:
6e4ccb438b0f0c9301ca7a56199ea3de

Scale + UISizeConstraint vs Offset
(notice how the left one using Scale changes size as you get closer, but doesn’t get any bigger than the size limit I set)
6f6c2a94df39e8318fe93addcb7b2eca

1 Like

sorry i dont really understand what i gotta do.


IM tryna get a result like this. (i want the size to just stay the same even when i get close) Here i used a surface gui on a part which does work well but i need to follow the camera like a billboard gui.

You have text.Scaled set to true right? That will make it so the text tries to stay the same size to fit within the Billboard. BUT, text has a maximum render size, so you won’t be able to get it to fill your entire screen, as you can see in my gifs. There isn’t a way around that unfortunately.

You could use SurfaceGuis instead and create a script so that the part they’re on top of always faces your camera.

1 Like

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