# NIAGARA create random size with curve?

**URL:** <https://forums.unrealengine.com/t/niagara-create-random-size-with-curve/128879>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [July 18, 2019, 3:36pm UTC](https://forums.unrealengine.com/t/niagara-create-random-size-with-curve/128879 "2019-07-18T15:36:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elias\_Leonard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elias\_Leonard](https://forums.unrealengine.com/u/Elias_Leonard)\
**Post date:** [July 18, 2019, 3:36pm UTC](https://forums.unrealengine.com/t/niagara-create-random-size-with-curve/128879/1 "2019-07-18T15:36:00Z")

</div>

Hi,

I want my sprites to have a random size, BUT i’d like to drive the randomness from a curve.  
So my size goes from 1-10, but i want 90% of my particles to be a size between 1-5 and 10% of my particles to have a size of 5-10 if that makes any sense.

Just starting out with niagara so it might be super obvious ^^

thanks!

---

<div class="post-metadata">

**Author:** ![Juice-Tin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/juice-tin/32/1008648_2.png) [@Juice-Tin](https://forums.unrealengine.com/u/Juice-Tin)\
**Post date:** [July 18, 2019, 5:27pm UTC](https://forums.unrealengine.com/t/niagara-create-random-size-with-curve/128879/2 "2019-07-18T17:27:17Z")

</div>

[![](https://i.gyazo.com/335f0b784964b588d6cc0450d3dfb100.png) ](https://i.gyazo.com/335f0b784964b588d6cc0450d3dfb100.png)

“Float from curve” is what you want.

Then replace CurveIndex with your random numbers.

---

<div class="post-metadata">

**Author:** ![Elias\_Leonard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elias\_Leonard](https://forums.unrealengine.com/u/Elias_Leonard)\
**Post date:** [July 19, 2019, 12:32pm UTC](https://forums.unrealengine.com/t/niagara-create-random-size-with-curve/128879/3 "2019-07-19T12:32:29Z")

</div>

Well this should do it, but it just makes all my sprites small… though i multiply it with a curve that goes from 1-8 so it should only increase size?
