How can i choose correct umg from many?

Hi answerhub!
I have many different widgets which was created by loop. It’s a grid table with buttons.
I need send the info by clicking the buttons.

Now I have a variable with info in 1 button, i’ts binded to on clicked to the 2 button. But now is changing only last button from loop which was created.
How can i choose correct button from many?

I suggest that you add an “exposed on spawn” integer variable to your widget that you are creating with the loop and every time you iterate a new index, assign the index number to that “exposed on spawn” integer variable. Then just retrieve the indexed widget via an integer comparison.