Switch textures in UMG health meter

Hello! I am building a health meter and I can’t seem to figure out how to switch textures out based on health level. Specifically, I have an asset that I’m using for normal health that will switch to a different asset when health is low. This is all built through UMG, 2D only.

I’ve followed a few tutorials I found here, mainly this one: How do you change the texture on an object with blueprint? - Rendering - Epic Developer Community Forums but it’s not quite working for what I want it to do. Is there another simpler way to swap textures out based on an event that is not a button press?

Thank you thank you!

Changing texture is done through a Exec Blueprint wire. You want to get health and wire it to a if value, then Exec to change the texture.

Would you mind going into a little more detail? I don’t have a ton of experience with blueprints.

I have no experience with Blueprints. This is step 14 you may want to use a near by step as well. This will get you very close to the answer.
A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums