Uniform Grid Panel?

Hello all just a quick question on how to dynamically add children to a uniform grid panel. The video is below with question and blueprints, thanks in advanced!

Here’s the general principle (I’ve assumed you keep player’s items in an array).

Alternatively, have a look at the wrap box, it does what you need automagically.

For the Fancy math part above, I use this to create my inventory

Local Index is just the index of the ForEachLoop and Columns is how many columns you want your inventory to have.

Hope this helps some

Oh man thank you so much I was going crazy and it was just a wrap box lol thanks again!