# Can you change Niagara static mesh from user exposed variable

**URL:** <https://forums.unrealengine.com/t/can-you-change-niagara-static-mesh-from-user-exposed-variable/269928>\
**Category:** FX\
**Tags:** unreal-engine, question, UE4-27\
**Created:** [January 3, 2022, 6:17pm UTC](https://forums.unrealengine.com/t/can-you-change-niagara-static-mesh-from-user-exposed-variable/269928 "2022-01-03T18:17:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![swampmonster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@swampmonster](https://forums.unrealengine.com/u/swampmonster)\
**Post date:** [January 3, 2022, 6:17pm UTC](https://forums.unrealengine.com/t/can-you-change-niagara-static-mesh-from-user-exposed-variable/269928/1 "2022-01-03T18:17:36Z")

</div>

how can you change the Niagara static mesh in the mesh array of the mesh renderer from a user exposed variable?  
the goal is to have one niagara system used multiple times in the level map with different meshes set from the level editor.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 4, 2022, 8:39am UTC](https://forums.unrealengine.com/t/can-you-change-niagara-static-mesh-from-user-exposed-variable/269928/2 "2022-01-04T08:39:51Z")

</div>

Definitely, gimme a few mins… ah… it’s a bit tricky, eh?..

I saw this, but haven’t had a chance to try it yet ( kinda doesn’t make sense ):

> **[Setting a Niagara Static Mesh parameter in Blueprint](https://forums.unrealengine.com/questions/1004118/setting-a-niagara-static-mesh-parameter-in-bluepri-1.html)**
>
> This has been asked around a few times, but no answer has helped me. I have a Niagara script that uses two meshes and morph one into the other, as seen in this tutorial: Unreal Engine 4 Niagara Tutorial 28 Static Mesh Realistic Morphing - YouTube ...

---

<div class="post-metadata">

**Author:** ![swampmonster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@swampmonster](https://forums.unrealengine.com/u/swampmonster)\
**Post date:** [January 4, 2022, 3:12pm UTC](https://forums.unrealengine.com/t/can-you-change-niagara-static-mesh-from-user-exposed-variable/269928/3 "2022-01-04T15:12:05Z")

</div>

thanks for thinking about it @ClockworkOcean  
I’ve looked at a couple of these techniques but they all seemed about changing s static mesh that is used to emit particles from.  
I am interested in changing the static mesh in the mesh renderer.  
of course you can create a user variable of the type static mesh, but the mesh renderer has an array that holds static meshes but doesn’t accept the static mesh user variable.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 4, 2022, 3:45pm UTC](https://forums.unrealengine.com/t/can-you-change-niagara-static-mesh-from-user-exposed-variable/269928/4 "2022-01-04T15:45:25Z")

</div>

I hear you. It doesn’t work, eh?..

It looks like you’ll just need a lot of emitters 🤡

---

<div class="post-metadata">

**Author:** ![Karton](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/karton/32/479869_2.png) [@Karton](https://forums.unrealengine.com/u/Karton)\
**Post date:** [May 17, 2023, 9:42pm UTC](https://forums.unrealengine.com/t/can-you-change-niagara-static-mesh-from-user-exposed-variable/269928/5 "2023-05-17T21:42:04Z")

</div>

I would also appreciate a solution for that 🙂

Lots of emiters may not be a solution if an arbitrary mesh is tobe supplied to the emitter.

---

<div class="post-metadata">

**Author:** ![oceanunreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oceanunreal](https://forums.unrealengine.com/u/oceanunreal)\
**Post date:** [December 9, 2023, 6:22am UTC](https://forums.unrealengine.com/t/can-you-change-niagara-static-mesh-from-user-exposed-variable/269928/6 "2023-12-09T06:22:04Z")

</div>

Here is the tutorial on how to do it,

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/9/e890b46221d67034e4870c22140085e84ad0090e.jpeg "UE5 How to change Niagara mesh at runtime.") ](https://www.youtube.com/watch?v=Q17U7fNSw-8)
