How do I stop a BillboardGui from moving up whenever I walk away from it?

Apologies, I meant the BillboardGui’s size property. You can play around it with it. It should keep it at a consistent size even when walking away

1 Like

I’m not talking about size here, I’m talking about how the position on the Y axis changes when I walk away, therefore making the health bar & username get cut out.

Well, it’s a little bit hard to understand and visualize your issue if you don’t have a video of it happening. If you could record one, that would be helpful

I’ll take screenshots, here:
before:
image
after:
image

The issue is that you are using the scale property. The scale property auto scales the gui based on your location, the offset property will keep the gui a fixed sized. Just use offset instead of scale.

1 Like

Hello there, when changing the size and position make sure the offset is at 0 on the Y/X axis - Only use the Scale

1 Like

Maybe try RichText and make sure that the text is scaled.
And try to make StudsOffset to 0,0,0.

1 Like

@ramdom_player201: Using Offset instead of Scale didn’t work.
@AstroConflict: The Size and Position’s Offset are set to 0 on the X/Y axis.
@caviarbro: RichText didn’t work, and TextScaled also didn’t work. StudsOffset is already 0, 0, 0, and I am using Attachments to offset the BillboardGui.

Can you please give me file to download?

1 Like

For a billboard gui, it is best to use the offset property for size and position as the gui should not need to change size. With all guis, the offset is in the number of pixels and scale is more like a pecentage. Scale can be used in screen guis to make a gui resize based on the screen’s dimensions. Or to allow a gui to auto resize when a part with a surface gui is resized. Offset is a fixed size so that should be used for billboard guis.

1 Like

@caviarbro: Here’s the file download:
repro.rbxl (28.2 KB)

1 Like

Are you still having the issue?

1 Like

Okay I came with solution for you.
First thing make anchor points of the frames to 0.5,0.5 and second make the size in scale not in offset!
That should fix it HF :smiley: !
Take it here:FixedBillboard.rbxl (28.9 KB)

4 Likes

Hi,

I know this post is almost 2 years old but I also got this problem and I found out what was causing this.

It is the extentsOffset that is causing this. You need to use the other called ExtentsOffsetWorldSpace to change the position of the BillboardGui

image

I hope this will help other people who come to visit this post.

12 Likes