How to set a property to all elements of the same type

Hi everyone, I would like to set all my buttons, the same graphic settings (for example same background color for some buttons). Usually I do this by creating a list of components and with the “for each” loop I process them all. I would like to know if I can get a list of all buttons without having to specify the list of buttons myself.
Thank you.

If these buttons are dynamic then their is a method to do it using ids, but for a normal components, I have no idea :slight_smile:

just use any button block

How can it possible :sweat_smile:

Thanks everyone for the answers.
@themaayur I know the extension you are referring to well, unfortunately I am not using it in my app, the buttons are inserted in a graphic layout
@Shatrudhn_Kumar I have already tried that route, but for this I wrote. If you think it can be done could you kindly explain to me how?
@Sumit1334 umit1334 Excuse me, mine was meant to be a question.

Does anyone know how to get a list of buttons (but this would also be handy for other objects) in the app?