# Q re: Best Practices, multiple ways to do the same thing

**URL:** <https://forums.unrealengine.com/t/q-re-best-practices-multiple-ways-to-do-the-same-thing/264508>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [December 6, 2021, 8:22pm UTC](https://forums.unrealengine.com/t/q-re-best-practices-multiple-ways-to-do-the-same-thing/264508 "2021-12-06T20:22:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kavan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kavan/32/1194623_2.png) [@Kavan](https://forums.unrealengine.com/u/Kavan)\
**Post date:** [December 6, 2021, 8:22pm UTC](https://forums.unrealengine.com/t/q-re-best-practices-multiple-ways-to-do-the-same-thing/264508/1 "2021-12-06T20:22:15Z")

</div>

Quick Niagara Question… I see at least two ways to access a color variable via bp and set it… I can’t tell which is preferable, if either.

I can either use SetNiagaraVariable or SetColorParameter.

Both work, both pass the same name via variable/parameter and color via inValue/param … thoughts on when one is used over the other? I’ve heard that SetColorParameter was grandfathered in from Cascade (?) … idk if that matters or makes any performance difference.

I’m assuming since both work either route is fine, but since they’re both there thought it was worth checking in on the off chance perhaps one is recommended. If so, why it is would also be worth knowing…

---

<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:** [December 10, 2021, 9:23am UTC](https://forums.unrealengine.com/t/q-re-best-practices-multiple-ways-to-do-the-same-thing/264508/2 "2021-12-10T09:23:05Z")

</div>

I haven’t looked, but I’m assuming that SetNiagaraVariable is in the Niagara part of the context-sensitive node lookup, and it’s probably a good idea to use that instead of the other…
