# how to spawn mesh render's array set increase 1 every spawn 

**URL:** <https://forums.unrealengine.com/t/how-to-spawn-mesh-renders-array-set-increase-1-every-spawn/1937081>\
**Category:** FX\
**Tags:** unreal-engine, question\
**Created:** [July 14, 2024, 1:23pm UTC](https://forums.unrealengine.com/t/how-to-spawn-mesh-renders-array-set-increase-1-every-spawn/1937081 "2024-07-14T13:23:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HwangDH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HwangDH](https://forums.unrealengine.com/u/HwangDH)\
**Post date:** [July 14, 2024, 1:23pm UTC](https://forums.unrealengine.com/t/how-to-spawn-mesh-renders-array-set-increase-1-every-spawn/1937081/1 "2024-07-14T13:23:37Z")

</div>

i just made 7 static meshes, and add mesh rendere’s array  
so i wanna them work when they are spawn increase mesh index + 1  
index no 0 - 1 - 2 - 3- 4- 5 - 6 - and again 0 - 1 - 2 - 3 …

chatgpt said me, add set variable at particle spawn module, blah blah…  
but i can’t find ‘set variable’ module in particle spawn…

how can i solve them? plz help me.

---

<div class="post-metadata">

**Author:** ![Cghow](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cghow/32/1212725_2.png) [@Cghow](https://forums.unrealengine.com/u/Cghow)\
**Post date:** [July 25, 2024, 1:58pm UTC](https://forums.unrealengine.com/t/how-to-spawn-mesh-renders-array-set-increase-1-every-spawn/1937081/2 "2024-07-25T13:58:51Z")

</div>

I tried it for you. i hope this will be helpful. [https://youtu.be/XZeZssaF-7Y](https://youtu.be/XZeZssaF-7Y)

 ![mesharray](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/0/bf00e07eb0bdd4b7b17f4dc7ccbd10697e2073ff.jpeg)

---

<div class="post-metadata">

**Author:** ![HwangDH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HwangDH](https://forums.unrealengine.com/u/HwangDH)\
**Post date:** [August 10, 2024, 9:31am UTC](https://forums.unrealengine.com/t/how-to-spawn-mesh-renders-array-set-increase-1-every-spawn/1937081/3 "2024-08-10T09:31:36Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/5/ca58ff212dc575757605604d3a514754306f6497.png)

I didn’t see this coming.  
I’m already a member of your YouTube channel(1month 19days anyway) Is this a fan service? 😂

thx for reply…I’m learning a lot thanks to you.
