how to get current index of child in wrap box?

i am adding some buttons in wrap box from another blueprint, how can i get that specific button index when i click on it ?