Need help activating widget with trigger box by sight

So I can’t figure it out, and I seen a video a while back but now I can’t find it… Can someone help me, I’m trying to set up a BP to pick something up but when you’re in range and LOOKING at the item rather than activating the trigger when overlapped. So how would I set it up so it knows the player is looking at the item to pick up?

Get the distance to object or use a over lap and dot product of forward vector of camera and object location < angle something like that. Likely need an acostD in there

You just want to get a true for both in range and looking at