# Niagara: how to access to the positions of all other particles within an emitter

**URL:** <https://forums.unrealengine.com/t/niagara-how-to-access-to-the-positions-of-all-other-particles-within-an-emitter/458844>\
**Category:** FX\
**Tags:** unreal-engine, question, CPP\
**Created:** [November 26, 2019, 10:43am UTC](https://forums.unrealengine.com/t/niagara-how-to-access-to-the-positions-of-all-other-particles-within-an-emitter/458844 "2019-11-26T10:43:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a9f49d8b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a9f49d8b](https://forums.unrealengine.com/u/anonymous_user_a9f49d8b)\
**Post date:** [November 26, 2019, 10:43am UTC](https://forums.unrealengine.com/t/niagara-how-to-access-to-the-positions-of-all-other-particles-within-an-emitter/458844/1 "2019-11-26T10:43:44Z")

</div>

I’m trying to create a Niagara particle simulation where each particle programmatically changes its velocity depending on the density of the particles. But how can I access the density information within an emitter?

Maybe, it is possible to temporarily store the density information in a 3D texture?  
Or, is it possible to count the number of particles in a region, say a bounding box (0,0,0) to (1,1,1)?

---

<div class="post-metadata">

**Author:** ![presto423](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@presto423](https://forums.unrealengine.com/u/presto423)\
**Post date:** [November 26, 2019, 4:54pm UTC](https://forums.unrealengine.com/t/niagara-how-to-access-to-the-positions-of-all-other-particles-within-an-emitter/458844/2 "2019-11-26T16:54:08Z")

</div>

is there a get function for all particles in an emitter tied to a certain property value? for instance, can you get the value of density for all particles at a certain density or higher (or within a density range) and alter those particles’ velocity with a trigger or function call? I’m new to Niagara, so I’m not sure exactly how it would be set up.

---

<div class="post-metadata">

**Author:** ![EtherionDesigns](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/etheriondesigns/32/1060899_2.png) [@EtherionDesigns](https://forums.unrealengine.com/u/EtherionDesigns)\
**Post date:** [August 26, 2020, 7:23am UTC](https://forums.unrealengine.com/t/niagara-how-to-access-to-the-positions-of-all-other-particles-within-an-emitter/458844/3 "2020-08-26T07:23:16Z")

</div>

You can get particle data into a blueprint via this method (just translate the page with google translate)  
[http://papersloth.hatenablog.com/entry/2020/08/01/112604](http://papersloth.hatenablog.com/entry/2020/08/01/112604)
