How can I find the contents of a scroll box?

I have a UMG scroll box widget. It gets populated by user added text. For context, the user is adding, deleting or editing the names of teams within the box.

When they make any changes, I can spot this and I can retrieve a reference to the scroll box. So far so good. However I would like to then find out what the scroll box contains and store the text.

I can find no way of iterating through the contents (i.e. children) of a scroll box or a vertical box. I can delete children, even by index, but cannot retrieve them.

Hi Dextrus,

do you still have this problem?

To iterate over the children of a ScrollBox, you could use a for loop to get the children at any index. This blueprint nodes should do:

That’s how I do it as well. Would love a ‘for each’ function