# inventory/library assets at runtime

**URL:** <https://forums.unrealengine.com/t/inventory-library-assets-at-runtime/1210740>\
**Category:** UI\
**Tags:** unreal-engine, twinmotion, Widget, Blueprint, question\
**Created:** [June 26, 2023, 4:48am UTC](https://forums.unrealengine.com/t/inventory-library-assets-at-runtime/1210740 "2023-06-26T04:48:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 26, 2023, 7:28am UTC](https://forums.unrealengine.com/t/inventory-library-assets-at-runtime/1210740/6 "2023-06-26T07:28:48Z")

</div>

> [@THDeigns](#):
>
> the assets supposed to be already in a storage  
> and just to have the ability to drag and drop the on the model, so i thought to have an a listview  
> and the assets already on viewport and based on datasmith

> inventory of material where I can store materials  
> and give the player apply them to the object by dragging them on it?

Like this right?

> [@Drag and Drop Material](https://forums.unrealengine.com/t/drag-and-drop-material/458600/4):
>
> The below assumes you know how to drag and drop and handle widgets, it’s not a tutorial, just a method: I got it to work pretty quickly by creating a custom drag & drop OPeration. When dragging, create the OP as usual but since we are using a custom OP, you can have it dispatch data - this is bound to a custom event in the Player Controller - this is necessary because the OP itself cannot access the player controller. We’re sending the material and the mouse coords: W…

You’d use ListView if you had A LOT of assets to deal with, it does bring quite a bit of additional complexity to the table, ofc.

---

_[View the full topic](https://forums.unrealengine.com/t/inventory-library-assets-at-runtime/1210740)._
