Inventory system/GUI?

I want to make a system where if you click an object on the ground it appears in your inventory and if you click the item in your inventory it would appear in your hand. The game i’m making is 3rd person. I have some experience with code but not with javascript. Can anyone guide me through on how to this?
Thanks

good study :wink: https://playcanvas.com/editor/scene/396696 inventory.js in new inv entity and player.js to pickup obj and equip them

the link is broken