So I am making a stamina bar using a gui, however having some issues on how to keep the bar in the centre of the screen when the x value on UDim2 is changed.
1 Like
You can change the AnchorPoint to (0.5, 0), if you want it to be centered in the x axis
This doesn’t work for me,
it just puts the right side of the gui in the centre of the screen, not the actual centre of the gui
Set the AnchorPoint to (0.5, 0.5), and the position to (0.5, 0, 0.5, 0)
This will center the UI, on both axis
1 Like
Thanks, been trying to figure this out forever lol