Array or put all my list

Please help , im changing all the material in list , just to put my
static mesh actor on the “Get All Actors of Class” i need to create my mesh into a blueprint is this correct way ?

Is there any other way to list all my static mess actor to change in one assign material ? thank you in advance.

Not sure if it’s the best way but you could just create an Array with all the items in it and then run a loop.

This would require to run a loop inside of a loop, though. Not sure if it’s the best idea, but it should work.

can you please give me an example of a blueprint im still not familiar with the array and loop