How would I make a Health Bar that shows recent damage?

You can have two variables in two overlapping widgets. And if you want to get the health to get lower over time until it reaches the other value you can reduce the health until it is =< than the health before hit - recent hit amount. The yellow health would be like the normal health, exept that it will represent the the damage you took.

You can’t use delay in functions, but afaik you could use them in a widget blueprint.

Actually you could also just use a normal healt bar and add the yellow on the position where the health would be at that health value, and with the length of the damage. And just reduce that over time. It would work if you have no technical use for this set up, other than appearance.

Hey everyone,

My end goal looks something like this: Screen capture - 6265d2ffb409817499d1fb5810dde4d8 - Gyazo
How would I accomplish what is pictured in the gif in a UMG widget?

Thanks!

What would be a good way to reduce that health over time?
AFAIK delay doesn’t work in functions, so binding is out of the question, right?

Thank you.