Resize a test window before your HUD is full of features. Start with a short objective in the upper left, a meter in the upper right and one prompt at the bottom centre. A single narrower window will tell you which controls are tied to the edge that matters.
Use the right edge as a reference
Suppose an example viewport is 1,280 by 720 and the meter is 160 pixels wide. A left position of 1,104 puts its right edge at 1,264, leaving 16 pixels of space. If the viewport width becomes 960 and the control preserves those old coordinates, the meter will appear off-screen. A right-aligned meter needs both horizontal edges positioned relative to the right edge. Its right offset can be −16 and its left offset −176 in this simplified arrangement.
Godot’s size and anchors guide distinguishes anchors from the offsets used to place the edges. Inspect the parent of the control before changing the numbers. A meter anchored to the upper right of a small panel follows that panel. It reaches the viewport corner only when the panel occupies the appropriate space.
Test the label that takes more room
Use a two-word interaction prompt first, then replace it with a whole phrase such as “Hold to open the lower floodgate”. Try it near a busy edge of the room. A bottom-centred prompt can stay in the right position and still extend over a neighbouring panel. If that happens, inspect the text control’s minimum size and the container it lives in. Let the text wrap within an agreed width, or give that prompt its own row. Changing the anchors alone leaves the width problem in place.
Finally, compare the HUD at your normal and narrow aspect ratios with the same player position. Look for a clear margin around the meter, room for the long prompt and a readable objective. If a control moves differently from how you described it, write down the edge it should follow. That gives you a specific scene-tree change to test next.
