In this first lesson, we’ll build the foundations of a professional inventory system in Unreal Engine: a modular Actor Component, an interactive pickup, and an interface to communicate cleanly with the PlayerController.
https://dev.epicgames.com/community/learning/tutorials/dLPp5/inventory-in-unreal-engine-core-setup