# Change material on repeating mesh

**URL:** <https://forums.unrealengine.com/t/change-material-on-repeating-mesh/310007>\
**Category:** Rendering\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [March 8, 2015, 7:39pm UTC](https://forums.unrealengine.com/t/change-material-on-repeating-mesh/310007 "2015-03-08T19:39:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DasSnipe\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DasSnipe\_1](https://forums.unrealengine.com/u/DasSnipe_1)\
**Post date:** [March 8, 2015, 7:39pm UTC](https://forums.unrealengine.com/t/change-material-on-repeating-mesh/310007/1 "2015-03-08T19:39:40Z")

</div>

Hi, I’ve been following [this](https://docs.unrealengine.com/latest/INT/Resources/ContentExamples/Blueprints_Advanced/1_2/index.html) 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.

---

<div class="post-metadata">

**Author:** ![lonerider543](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lonerider543](https://forums.unrealengine.com/u/lonerider543)\
**Post date:** [March 8, 2015, 7:51pm UTC](https://forums.unrealengine.com/t/change-material-on-repeating-mesh/310007/2 "2015-03-08T19:51:12Z")

</div>

Hello,

create a new variable with the `object reference` → `material` 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.

 ![33077-material.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/b/32b96e8879c64a1edddbdb9d2a3ea119e09364c3.png)

 ![33078-material2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/9/55920989f79f6e76915d0ed69850ee1cedbb9456.png)

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 🙂
