Make a health bar that stays on screen

With me revamping my game to make it better, I added the smooth camera extension that follows the player. I was wondering how I could make a HUD (Things like health bar and a coin counter) that follow the player. Obviously just adding the object wouldn’t work as the player could just walk away from their health bar. I know I should make it a global layout but I’m sort of stumped after that step.

Hi,
you just have to put your health bar and the other stuff on a different layer.

You can figure these things out by having a look at the templates and example projects: