I have started working on a project and have come across an issue when trying to create a health pickup for my character. What I am trying to accomplish is, when my character is within a certain range of my health pickup and is looking at the health pickup, I want to be able to press the E key, and have my players health increased. I currently have the system working so that if the player overlaps with the box collision around my health pickup, it applies the increase in health, and then destroys.
Here is the blueprint that I currently have for my health pickup. What changes should I make in order for this to work as I planned?