# Issue with "Exploring Blueprints Tutorial" - Material Change on Click

**URL:** <https://forums.unrealengine.com/t/issue-with-exploring-blueprints-tutorial-material-change-on-click/241198>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [July 17, 2021, 11:47pm UTC](https://forums.unrealengine.com/t/issue-with-exploring-blueprints-tutorial-material-change-on-click/241198 "2021-07-17T23:47:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NM-92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NM-92](https://forums.unrealengine.com/u/NM-92)\
**Post date:** [July 17, 2021, 11:47pm UTC](https://forums.unrealengine.com/t/issue-with-exploring-blueprints-tutorial-material-change-on-click/241198/1 "2021-07-17T23:47:17Z")

</div>

Hi everyone,

Kinda new to Unreal, so nice to meet you all. I’m on a learning path, currently trying to follow the “Exploring Blueprints” tutorial: [LINK](https://learn.unrealengine.com/home/LearningPath/90587?r=False&ts=637620337192654222)

Right now I’ve followed the three ‘Material Swapping’ videos nearly 10 times, redoing the whole thing and I can’t get it to work. I’ve barely any coding knowledge so this is a whole new world for me. I’ve come to a point where I kinda figured out where the logic isn’t working and I can see this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/3/137f548a2a4793bea66991c406c289c3955ee3fc.png)

I don’t know what else to share to try to figure this out, so please ask me for any other information you need. I’ll be happy to post it, but I really need to get through this before I give up 😔

Thanks in advance for your time.

Best,

Nicolas

---

<div class="post-metadata">

**Author:** ![NM-92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NM-92](https://forums.unrealengine.com/u/NM-92)\
**Post date:** [July 26, 2021, 9:26pm UTC](https://forums.unrealengine.com/t/issue-with-exploring-blueprints-tutorial-material-change-on-click/241198/2 "2021-07-26T21:26:00Z")

</div>

Hi @anonymous_user_3867756a ,

Thanks for answering! I was so into the issue I actually forgot to clarify what happened, sorry for that. The overall goal for that part of the tutorial is to make the material of a mesh change, once that mesh is clicked:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/7/f7984fbcc422e06b90e5e5069dd0ad8a11306586.jpeg)

So when I run the preview, I can see that when I click the mesh the logic goes as expected and cycles through each of those “Set Material” nodes, but once I open that function, I can see that it stops:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/8/28219e6a02f28b6e6f3e294ce3a9fd88ed24fab6.jpeg)

I don’t want to clutter the post with a ton of images, you can see what’s the logic in this video: [https://learn.unrealengine.com/course/2436529/module/5373086?moduletoken=UHxxnDLPW8SgaLwUD5ziwOV0auDobANRXDoQaf9SJ1gG3QIzpfVA~2OKJrfKUcBq&LPId=90587](https://learn.unrealengine.com/course/2436529/module/5373086?moduletoken=UHxxnDLPW8SgaLwUD5ziwOV0auDobANRXDoQaf9SJ1gG3QIzpfVA~2OKJrfKUcBq&LPId=90587)

So basically what I’d like to know is where to start looking for the mistake so I can provide the necessary info here. I know it can be anywhere, but I can’t find an easier way to troubleshoot this.

Let me know if you think I’m missing sth!

Thanks.

Nicolas

---

<div class="post-metadata">

**Author:** ![NM-92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NM-92](https://forums.unrealengine.com/u/NM-92)\
**Post date:** [July 26, 2021, 9:52pm UTC](https://forums.unrealengine.com/t/issue-with-exploring-blueprints-tutorial-material-change-on-click/241198/3 "2021-07-26T21:52:44Z")

</div>

Here’s all I have on that Speaker list. If I understand correctly, here is where the tutorial ‘fills’ the Speaker List array with data:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/9/49dd43c274dd423402dd976f4e729b72ddb3cbb0.jpeg)  
I can see that the logic is setting up that variable, but you can see at the right of the image that the variable says 0 array elements. Then it goes here:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/8/0885e983f68caf728d216b0492367cff8e60163e.png)  
Also, 0 array elements. Somewhere along the logic that should be filled with 5 variants for that mesh, and I don’t see that happening.

So, it seems that that’s the problem, but I have no idea how to fix it.

Nicolas

---

<div class="post-metadata">

**Author:** ![NM-92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NM-92](https://forums.unrealengine.com/u/NM-92)\
**Post date:** [July 27, 2021, 1:26pm UTC](https://forums.unrealengine.com/t/issue-with-exploring-blueprints-tutorial-material-change-on-click/241198/4 "2021-07-27T13:26:14Z")

</div>

Hi @anonymous_user_3867756a,

I’m an idiot. Thank you so much !!! I went through all this like a hundred times and couldn’t spot that stupid thing. Anyways, a rookie mistake I guess. Once again, thanks for taking a look! Everything works now.

Nicolas
