How do you detect any button clicked inside a parent?

Is there a way to detect if a button inside a parent/arrangement is clicked? I'm tired of putting an event block with the same code :confused:

Welcome to the community. You could use when any button click event


The is in list block works with lists of components and the component parameter of an Any Button Clicked Event.

But you have to build a list of component blocks for it to search, in your case one list per Arrangement.

Sample project: