How should I do this

Hey there developers!

I am currently making a survival game. I need to make A system when you look at something its inventory pops up like fallout 4. Here is an example, Fallout 4 Playthrough Part 3 I Play with Some Bodies - YouTube look at 11.00.

Thanks in advance,
Dev_guypro

You could check whether a is within a certain area, and their orientation to see if it might be the correct one. ( or you could add an area that when their in it, it shows them the inventory )