# Distribution Float Particle Parameter Trigger

**URL:** <https://forums.unrealengine.com/t/distribution-float-particle-parameter-trigger/439328>\
**Category:** Blueprint\
**Tags:** parameter, distribution, particle-systems, unreal-engine, Blueprint, question\
**Created:** [December 12, 2018, 1:09am UTC](https://forums.unrealengine.com/t/distribution-float-particle-parameter-trigger/439328 "2018-12-12T01:09:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cganim8r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cganim8r](https://forums.unrealengine.com/u/cganim8r)\
**Post date:** [December 12, 2018, 1:09am UTC](https://forums.unrealengine.com/t/distribution-float-particle-parameter-trigger/439328/1 "2018-12-12T01:09:12Z")

</div>

Hi people,

I’m trying to trigger a particle spawn count only when I press (and release) a button. I hope it’ll make sense when you watch the short screen-capture. My problem is that if I set the spawn Constant to zero, the button triggers, but the value doesn’t change and it doesn’t start emitting particles. However…

If I set the spawn Constant to 0.1 the emitter emits one particle per second. Now, if I press the button, it sets it to 1.0 and I get 10 particles per second. When I take my finger off the button, it sets the value to 0.0. Great! (Although, this stops working eventually, too).

Although, this seems to work to a degree, it doesn’t explain why I can’t have a zero emission rate initially? I know the value is changing because I used a ‘f To Text’ node and attached it a ‘Print Text’ node. So, I can see the values updating.

 ![261980-cascade.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/1/741edf4827763ce734c7dfd1e87175abe557d2bd.png)

Any answers would be greatly appreciated.

Thanks,

Neil
