How do you put an item into the inventory after inspecting it?

Hi there. I’m actively developing a horror game and have already set up an inspection system for it. Now, I’m planning to implement a basic inventory system, but I have a question: I want the item to be added to the inventory only after the player has inspected it. How can I do this?