# Problem setting a Niagara Parameter

**URL:** <https://forums.unrealengine.com/t/problem-setting-a-niagara-parameter/230291>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [May 20, 2021, 8:25pm UTC](https://forums.unrealengine.com/t/problem-setting-a-niagara-parameter/230291 "2021-05-20T20:25:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emmedand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@emmedand](https://forums.unrealengine.com/u/emmedand)\
**Post date:** [May 20, 2021, 8:25pm UTC](https://forums.unrealengine.com/t/problem-setting-a-niagara-parameter/230291/1 "2021-05-20T20:25:14Z")

</div>

Hello, I created a Niagara user parameter so that I can customize the collision channel of a VFX.

 ![CollisionTraceChannel](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/b/bb48585f552736bf18df1c61342f0e94e82a5623.jpeg)

The parameter type is eCollisionChannel:

![Ecollision](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/0/60789e7b08c78ab5952dd77371ecf37db2c11153.jpeg)

But when I try to set it in the blueprints, there isn’t any option to set such parameter type.

 ![Setting Niagara Parameters](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/3/f30f3b63dac71e3549d36253e5565c2b09304287.jpeg)

Any idea on how to solve this problem?

I’m trying to customize the collision channel for a VFX so that when the player shoots, it doesn’t hit its allies (and the same happens to the enemies).

---

<div class="post-metadata">

**Author:** ![Seed\_37](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/seed_37/32/88718_2.png) [@Seed\_37](https://forums.unrealengine.com/u/Seed_37)\
**Post date:** [May 23, 2021, 12:54pm UTC](https://forums.unrealengine.com/t/problem-setting-a-niagara-parameter/230291/2 "2021-05-23T12:54:31Z")

</div>

Could you create 2 niagara collision variables and have them switch on a bool then define the bool on the creation of the system? I don’t know how to accomplish this or if its possible. I am still figuring out Niagara. I do know you can code your own moduels. You might have to look into that.

---

<div class="post-metadata">

**Author:** ![emmedand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@emmedand](https://forums.unrealengine.com/u/emmedand)\
**Post date:** [May 26, 2021, 12:44pm UTC](https://forums.unrealengine.com/t/problem-setting-a-niagara-parameter/230291/3 "2021-05-26T12:44:25Z")

</div>

Thank you for taking the time to write your response.

In the end I figured out that setting an int32 would do the trick, but that still wasn’t working as intended (for unknown reasons).

I solved the problem by changing the meshes’ collisions (it’s an easy solution for turn based combat) instead of the Niagara systems’ ones.
