How to clear an inventory?

Hello guys!

So I have my Inventory but dont find how to clear his content… Any idea?

Thought about a loop on the InventoryItems from this Inventory but dont find anything to destroy the current item…

Thx :slight_smile:

Seems finally found something with the “RemoveFromSlot”. Will take a try.

No, not working this way :frowning: Any other idea guys? :slight_smile:

Okm stupid I’m.

InventoryItems -> Clear

Most likely the items are stored within an array, and then you have both “Remove Item” and “Remove Index” which you can use. If you want to remove everything you can either use “Clear” or iterate through the array with a loop and use “Remove Index”.