Not sure why material is changing on only one object

When a button is pushed, I want all of these wall lights to red but only one of them will change using this code. The other remains white. The wall lights are not part of the event graph’s original blue print so that’s why I’m having to reference them.

Any ideas?


Figured this out myself. Just needed to use the “Get all actors of a class” function and get each of the elements in the array.