Change material on repeating mesh

Hi, I’ve been following this tutorial to get a repeating mesh, now what I want to do is change the material of that mesh on a per-blueprint basis, I can change the material of the mesh in the Content Browser but that changes it for all of them.

Hello,

create a new variable with the object referencematerial type and set it to be editable.

Then in the construction script, right after you create the static mesh, use the set material node to set the material of the newly created static mesh to your chosen material. You can then change the material in the details tab of the blueprint once you place it into the level.

The element index of the set material node specifies which material channel to use, so if your mesh has more than 1 materials applied to it, you will need to specify which channel to use :slight_smile: