Why healthbar keeps same size on screen?

Why does this enemy health bar remain of the same size on screen regardless of where the enemy is? I want it to scale it down with the enemy location


That’s most likely because you made this a Widget in Screen Space:

grafik

Screen space has the advantage, that the name plates or health bars are always facing the camera and they are also better visible, not affected for example by postprocessing and fog.

1 Like

I tried setting it up as world but now it’s not visible at all

it could be rotated away from the camera (3d objects don’t render faces away from camera unless 2-sided). You may need to orient it to the camera manually if in world 3d

Can you get the distance to the critter and scale the healthbar down based on that?