# How to make an emitter's scale based on a variable made in blueprints?

**URL:** <https://forums.unrealengine.com/t/how-to-make-an-emitters-scale-based-on-a-variable-made-in-blueprints/22686>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [March 4, 2015, 12:55am UTC](https://forums.unrealengine.com/t/how-to-make-an-emitters-scale-based-on-a-variable-made-in-blueprints/22686 "2015-03-04T00:55:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JiggleWiggler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JiggleWiggler](https://forums.unrealengine.com/u/JiggleWiggler)\
**Post date:** [March 4, 2015, 12:55am UTC](https://forums.unrealengine.com/t/how-to-make-an-emitters-scale-based-on-a-variable-made-in-blueprints/22686/1 "2015-03-04T00:55:55Z")

</div>

I have this set up. The game keeps track of how much time the player spends falling and turns it into a variable called Emitter Power. On player landing it spawns an emitter.  
I want to make the emitter’s scale increase based on the Emitter Power float value.

How could I do this?

Image Link: [http://i62.tinypic.com/2hdtjle.png](http://i62.tinypic.com/2hdtjle.png)

---

<div class="post-metadata">

**Author:** ![Fen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fen/32/635651_2.png) [@Fen](https://forums.unrealengine.com/u/Fen)\
**Post date:** [March 4, 2015, 7:15am UTC](https://forums.unrealengine.com/t/how-to-make-an-emitters-scale-based-on-a-variable-made-in-blueprints/22686/2 "2015-03-04T07:15:23Z")

</div>

Hello,  
Your “Spawn emitter at lcoation” has an output “return value”. Use it to modify settings of your spawned emitter by dragging a “set” parameter defined in emitter.

---

<div class="post-metadata">

**Author:** ![President](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@President](https://forums.unrealengine.com/u/President)\
**Post date:** [March 6, 2015, 9:19am UTC](https://forums.unrealengine.com/t/how-to-make-an-emitters-scale-based-on-a-variable-made-in-blueprints/22686/3 "2015-03-06T09:19:23Z")

</div>

My quick 2cents on how I’d do it is by making a Blueprint Actor and adding that emitter to it. Instead of spawn emitter you’d spawn actor from class and choose that new BP you just made. Spawn Actor comes with a Spawn Transform allowing you to use the Location and Rotation from above but use your Emitter Power Variable to adjust the Scale of the actor…may be a better way but I’m lazy and tend to go with the first way I come up with that works…HA…

Good luck man…

(also note you’ll loose that auto destroy option so just set the BP Actor’s life Span to shortly after you’re emitter has finished (like 10 secs or something) and it’ll destroy itself…Awesome Forum Name by the way)
