blueprint

Add Item to Inventory (Item)

  • Exposure: public
  • UE Version: 5.2

avatar author

Marina.Evangelista

June 17, 2025, 2:36 pm

This is one part of a two part code. This part should be on the item blueprint, while the other part will be on the Player blueprint. This code also requires a Blueprint interface, where you should create the function Add Item and give it an input called "NewItem". It should be a string type, single. The "item name" variable is an Enumerator reference, where I list all of the possible item names.

Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v