Efficiency Question

So i’m making an inventory system and had a question on what would be more efficient for a mobile game.

The inventory is a simple hotbar like in minecraft, but it expands based on how many items are in the inventory.

My question is, should i set it up to dynamically create or destroy inventory boxes so that there is always one more box then there are items, or should I just add and hide a few more boxes than i could possibly need?

this is being done in Blueprint, if that changes anything.

Hi [USER=“3136594”]Random Paladin[/USER] ,
i would suggest you to create them dynamically , i think is less waste (even if really little).

I link you a great answer i got when i asked how manage a great number of buttons, dynamicly created and event-linked!
https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1796340-widgets-how-manage-a-lot-of-buttons