Hey, I’ve created an inventory system so that the player can pick up an object by pressing the ‘E’ key, and this creates a line trace etc and adds it to the inventory. I’ve also created a loot container (a filing cabinet) that when the player finds the key, it opens and a UMG appears on screen and this enables the mouse cursor so the player can click the buttons (see pics attached for info) What I want though is so when the player clicks the UMG button that has an item (a thumbnail) attached it adds it to the inventory (see in pics) and removes it from the filing cabinet. I can’t do this the same way as the models (actors) as it doesn’t involve a line trace by channel and I’m still pretty new to UE4. Thanks in advance
(The inventory system)
(The filing cabinet system)