OnComponentBeginOverlap is fired one time when you overlap the box. You have to set a bool to true when the overlap begin and to false when it stop after that you have to check the bool stats with the Event Tick and add your substract heal function.
OnComponentBeginOverlap is fired one time when you overlap the box. You have to set a bool to true when the overlap begin and to false when it stop after that you have to check the bool stats with the Event Tick and add your substract heal function.