How to make two actors communicate

Thank you very much for your help! Your advice worked!
I only have one issue left and that’s that I can still interact with objects through walls and other non-interactable actors. This is because I’m basing the interaction on an overlap trigger sphere as well as a vector dot product that basically checks which item is closest to the player’s camera forward vector (this is done so that if two interactable objects have their trigger spheres overlap one another, both objects won’t give the option to be interacted with at the same time).
What do I add that prevents the player from interacting through ‘solid actors’ ? Is there an option I an enable? or do I have to use tracing ?