# How can I change Niagara variables via blueprint?

**URL:** <https://forums.unrealengine.com/t/how-can-i-change-niagara-variables-via-blueprint/437640>\
**Category:** FX\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [November 14, 2018, 8:58pm UTC](https://forums.unrealengine.com/t/how-can-i-change-niagara-variables-via-blueprint/437640 "2018-11-14T20:58:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaipo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shaipo](https://forums.unrealengine.com/u/shaipo)\
**Post date:** [November 14, 2018, 8:58pm UTC](https://forums.unrealengine.com/t/how-can-i-change-niagara-variables-via-blueprint/437640/1 "2018-11-14T20:58:10Z")

</div>

Hi, i’ve been trying to access my Niagara system/emitter variables through blueprint to have some dynamic values, but I can’t seem to find a way to do that in the editor or online.

---

<div class="post-metadata">

**Author:** ![shaipo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shaipo](https://forums.unrealengine.com/u/shaipo)\
**Post date:** [November 15, 2018, 3:48pm UTC](https://forums.unrealengine.com/t/how-can-i-change-niagara-variables-via-blueprint/437640/2 "2018-11-15T15:48:42Z")

</div>

Anyone? I was able to expose some parameters in the Niagara System and see them in the blueprint editor via a Niagara component, but I can’t seem to get or set them via blueprint.

---

<div class="post-metadata">

**Author:** ![shaipo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shaipo](https://forums.unrealengine.com/u/shaipo)\
**Post date:** [November 15, 2018, 4:13pm UTC](https://forums.unrealengine.com/t/how-can-i-change-niagara-variables-via-blueprint/437640/3 "2018-11-15T16:13:22Z")

</div>

With this setup:

 ![259484-parameter.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/2/232aa88924c6d1904c044e6c5751c10102c302b9.png)

 ![259485-blueprint.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/0/440db36fae1b98e56a4ce64ec3c480f83740d484.png)

I was able to change the color at runtime, but let it be known that with this method only the following type of variables can be modified via blueprint; (Actor, Bool, Float, Int32, Linear Color, Quaternion, Vector 2, Vector 3 and Vector 4).

Here’s hoping a future update will include more variable types.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c668f62](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c668f62](https://forums.unrealengine.com/u/anonymous_user_0c668f62)\
**Post date:** [November 30, 2018, 3:42am UTC](https://forums.unrealengine.com/t/how-can-i-change-niagara-variables-via-blueprint/437640/4 "2018-11-30T03:42:16Z")

</div>

Thanks for posting the answer. Just one note for the newbies out there: “System Exposed Parameters” appear in Niagara System. You can create “User.OwnerColor” as an User variable in the Niagara Emitter, and drag it to the actual Color values (so it uses your value instead of hardcoding RGB color in the emitter).  
Also, “Current Color” in this example is a LinearColor variable, you can use just MakeColor or MakeLinearColor

---

<div class="post-metadata">

**Author:** ![tomofnz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomofnz](https://forums.unrealengine.com/u/tomofnz)\
**Post date:** [February 9, 2019, 4:51am UTC](https://forums.unrealengine.com/t/how-can-i-change-niagara-variables-via-blueprint/437640/5 "2019-02-09T04:51:01Z")

</div>

Does this work for ENiagaraState (using int32) ?

---

<div class="post-metadata">

**Author:** ![shaipo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shaipo](https://forums.unrealengine.com/u/shaipo)\
**Post date:** [February 9, 2019, 5:09am UTC](https://forums.unrealengine.com/t/how-can-i-change-niagara-variables-via-blueprint/437640/6 "2019-02-09T05:09:56Z")

</div>

By ENiagaraState, do you mean an Emitter.VariableName? If so the same method should work, just make sure your niagara system is using User.VariableName created in the system where you need to. Only User variables can be changed. But you could workaround that by setting Emitter.VariableName to User.VariableName where needs be in the system.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_68154e48](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_68154e48](https://forums.unrealengine.com/u/anonymous_user_68154e48)\
**Post date:** [October 22, 2019, 6:05am UTC](https://forums.unrealengine.com/t/how-can-i-change-niagara-variables-via-blueprint/437640/7 "2019-10-22T06:05:45Z")

</div>

here is a video tutorial for Niagara variable controlling in the blueprint

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/b/eab2a2bc64787f5e9caa50a811ea629847c0b4d9.jpeg "User Attraction Force with Niagara Variable in Blueprint | UE4 Tutorials") ](https://www.youtube.com/watch?v=vL_VPCYcZfo)

---

<div class="post-metadata">

**Author:** ![HashemShepard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hashemshepard/32/1201564_2.png) [@HashemShepard](https://forums.unrealengine.com/u/HashemShepard)\
**Post date:** [August 25, 2024, 3:16pm UTC](https://forums.unrealengine.com/t/how-can-i-change-niagara-variables-via-blueprint/437640/8 "2024-08-25T15:16:56Z")

</div>

if you still need help with this  
i suggest you check this one  
[https://www.unrealengine.com/marketplace/en-US/product/expose-niagara-variables-c-blueprints](https://www.unrealengine.com/marketplace/en-US/product/expose-niagara-variables-c-blueprints)
