Cast to all instances of class only applied to last array index

hi there
pretty self explanatory, I’m looking for the correct way to apply a cast to a whole class. Got almost every explanation through doc but I couldn’t figure this out. When trying to cast to all instances of my “OverflowCharacter” changes are only refleted in the last array index. I tryed to call cast to overflowCharacter class (purplenode) but I can’t acces variables like in the object version.
I am missing something or I fight against a bug :wink: ?

When you cast to an object, the changes should be inside loop body, in order to change something inside all of the instances. Im not sure, how you do that in your BP(I see only loop and cast), but you should do something like this:

Try to find, maybe u did the same mistake somewhere.

Hey AlFlakky thank for your answer. Actually the variable i want to modify is after a switch but yes, this is how I set it (Get All of class ->for each->cast to->Switch->set variable based on switch). I can’t understand why after the for each loop, I can “read” only one reference, still this is the one actually modified at runtime.

it worked ! I’m not totally sure about what I did, globally I just moved variable just behind the switch, (they were a timeline and delay in between) and it seems good
thanks a lot!