Download

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!

https://youtube.com/watch?v=Gdo9X9oJWw8

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

Untitled.png

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
c70a18edb290cc22b2f0c9a8837f8754ec00ada1.png

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!