How do I make my healing loop? New to blueprints.


I’ve made a really simple blueprint which adds hp when the player overlaps a “healing area”. This works, but it only adds one point, and then the player must leave the area and overlap again. I want to make it so that health is added every second that the player is overlapping, and then stop when they are no longer overlapping. How can I do this?

Here’s my event Graph:


I would suggest using a Timer. You can use it to run specific logic (like increasing the health) at periodic intervals.

Every time you encounter a begin overlap, you can set a new timer (if one is not running already) of interval 1 second, tasked with running your health increment logic. Similarly on end overlap, you can clear the timer & it will stop the execution.