Change materials to all the elements from an array

Glad to hear that you’ve got it working now.

  • ColorChange was the name of my actor blueprint (i.e. the actors that I was changing the materials of), so you’ll need to cast it to whatever your actor blueprint was called.

  • Assuming you’re asking about the use of the casting node, it is just used to check if the object that you are attempting to cast is of the same type as the object that you are casting to. So in my situation, casting the array element to ColorChange was ensuring that that particular element was an instance of my ColorChange blueprint. You can find additional documentation on performing casts here: Casting Quick Start Guide | Unreal Engine Documentation