callback function based on ID in list of buttons?

Hi,

Is there a way to know which button is clicked when buttons are children of a parent?

So, basically, I made a scrollable item list with buttons and I want to control behavior of the each callback function of the button based on children ID or order.
Hope that makes sense.

Thanks,

have the button pass a parameter of itself or whatever you need (GetSiblingIndex,etc.) to the function it’s set to call.

1 Like