How to change all materials in all game objects in the list variable

mo D 3 months ago in Game Creator updated by Marti (Lead Developer) 3 months ago 1


I want to change a list of material but I don't want to do it one by one.

I tried to find a way to use loop or foreach to do the job, but they all end up to this part.

Will the developer consider to add an "All" option for this selection?

Or allow to store value on it?

Is there anyway I change all materials in list at once?

Thank you

Unity version:
Game Creator version:

Adding an option that allows to pick more than one element would require to change the entire Actions system layout. Instead, what you can do is to loop through the whole list and apply the desired action to each element.

To do so, you can use the "Loop List Variables" action, which takes a List Variable as an input and an Actions object. For each element in the list, it will execute the Actions having the "Invoker" as the element of the list.