Pick up problems

I have been working on a small horror survival projekt and i have stumbeld upon a problem that has been bothering me. I have have been following this series from unreal how to make a inventory.

What I need is a way pick up the Items when the player is inside the trigger area AND is looking at the object or looking on a small trigger surounding the object. from what I know I have to set up a Line trace in the “TICK” function and set a boolean in either the player or in every single object but I dont know how to set that stuff up.

I would be really happy if anyone could help me either by sending a picture of the script or by showing me a video that could help.