In my player character blueprint, there is an EnhancedInputAction event that is triggered when the left mouse button is pressed. When the input is triggered, it communicates to my actor blueprint which then executes several functions.
This communication works fine, but the input can be triggered at any moment, which is causing issues. I only want the input to be triggered if the player is in the collision area of my actor, sort of like only being able to open a door when you are near it. At the same time, the player should be able to use and trigger the input at some point.