How to collapse all widgets except one?

Hi all,

I’m new to blueprints and have a question that’s probably super easy to answer, but I can’t for the life of me.

I’m making an accordion style menu that has a vertical scroll box containing a number of dynamically generated buttons. Each button is a blueprint widget made up of a button and a canvas panel (the canvas panel acts as an info box for the button being clicked).

When I click a button, its canvas panel is shown (set to visible).
When I click it again, the canvas panel collapses.

My issue is: when I click on a button, I want all other button info canvas panels in the list to collapse so that only the canvas panel shown, belongs to the button that was clicked.

How does one go about doing this in blueprints?

W3 has a good example of what I currently have, but their info boxes remain open if you click on other buttons.

I haven’t been able to find any info on this for weeks now, so any help, direction or learning materials would be greatly appreciated.

Many thanks in advance,
Hiro