Change Health bar material size using material parameter.

What I’ve been trying to do for a while is make the character health bar change size based on the characters health :open_mouth:

I have the HUD Blueprint a and a simple material all set up its just the material scaling I don’t know how to set up.

9135a0516caa57abed0c6bd4bbc0769bba1eeaac.jpeg

Any one know how to set this up? I know I’m not doing this right. really stuck.

thanks

I would recommend you to take a look at the health bar in the content example -> open the Blueprint_Hud map and then take a look at the blueprints + materials