How to make a very simple one-slot inventory (beginner!)

Thanks!
I’m working with sprites for these objects, so every object that came be picked up will be a 2D Sprite! ^^