Vigyata.AI
Is this your channel?

Sorting Inventory by Type using Ninja Inventory Ninja Bear Studios (NBS)

262 views· 13 likes· 7:39· Dec 9, 2025

🛍️ Products Mentioned (8)

#coding #programming #unrealengine5 #ue5 #gamedev #gamedevelopment #gaming Website: https://codewithro.com/ Support me on Patreon: https://www.patreon.com/CodeWithRo Join my Discord Server: https://discord.gg/gZH4JDpgdT Donations: https://ko-fi.com/codewithro Synty Store: https://syntystore.com/codewithro Ithappy Store: https://ithappystudios.com/?ref=codewithro Use Code: CODEWITHRO25 to get 25% all Ithappy assets! Business Inquiries: codewithropatreon@gmail.com My full dev setup & gear: https://amzn.to/49gqJAU Learn Software/Gamd Dev: https://amzn.to/4blLbmA

About This Video

In this video I’m setting up a clean way to sort your inventory by “type” using Ninja Inventory (Ninja Bear Studios). The goal is simple: my generic items go into a Backpack container, and my equipment (weapons/armor) goes into a separate Equipment container. I walk you through creating two Container Definitions (BP_Inventory and BP_Equipment), then the key part: using the Item Compatibility Query gameplay tags so each container only accepts the items it’s supposed to. On the data side, I show how my BP_Inventory is a simple layout with a slot attribute tied into my Gameplay Ability System attributes (so your slot count can be driven by stats). Then BP_Equipment uses the equipment layout and filters items by tag (like inventory.equipment). On the UI side, I rebuild a basic WBP_Inventory with a Horizontal Box for two icon buttons and a Widget Switcher that acts like an array of pages. Clicking the Backpack icon sets the active widget index to 0, and clicking the Equipment icon sets it to 1. Finally, I test it with a sword pickup. When the item data asset tag is inventory.equipment it lands in Equipment; when I change it to inventory.item it lands in Backpack. That’s the whole takeaway: tags decide the container, and the widget switcher makes the UI feel polished and easy to navigate.

Frequently Asked Questions

🎬 More from Code With Ro