Hi! I want to build a simple HUD where I'll display two things only for now - one is user's score, the other one is animated sprite of a coin next to it. I am having a hard time thinking about how to center-align them though. After some trials and failures I've came up with a following node's structure:
CanvasLayer
- HBoxContainer
- AnimatedSprite2D
- Label
And I thought that'll suffice, but the result looks like so: and I'd very much like to center-align them vertically, and also make the coin display to the right of the score. Would that be achieved through some settings of HBoxContainer that I'm not aware of? Or maybe I've used completely wrong nodes? All help appreciated!