# How to manually update particle position in Niagara

**URL:** <https://forums.unrealengine.com/t/how-to-manually-update-particle-position-in-niagara/437300>\
**Category:** FX\
**Tags:** world-position-offse, unreal-engine, editor, question, Blueprint, CPP\
**Created:** [November 9, 2018, 4:53am UTC](https://forums.unrealengine.com/t/how-to-manually-update-particle-position-in-niagara/437300 "2018-11-09T04:53:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_505aa0131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_505aa0131](https://forums.unrealengine.com/u/anonymous_user_505aa0131)\
**Post date:** [November 9, 2018, 4:53am UTC](https://forums.unrealengine.com/t/how-to-manually-update-particle-position-in-niagara/437300/1 "2018-11-09T04:53:19Z")

</div>

Problem:

If there’s an array of desired particle positions (50k) get updated every frame from BP, how do we update Niagara particle system to set these locations?

It works when I pipe through Cascade particle positions and finally update Material’s World Position Offset, but no luck with Niagara so far. Can anyone help?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_505aa0131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_505aa0131](https://forums.unrealengine.com/u/anonymous_user_505aa0131)\
**Post date:** [November 26, 2018, 9:51pm UTC](https://forums.unrealengine.com/t/how-to-manually-update-particle-position-in-niagara/437300/2 "2018-11-26T21:51:20Z")

</div>

Found answer myself. Using texture sample in Niagara does create beautiful particle system with point cloud data.

---

<div class="post-metadata">

**Author:** ![ELKatlan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ELKatlan](https://forums.unrealengine.com/u/ELKatlan)\
**Post date:** [February 8, 2019, 12:43am UTC](https://forums.unrealengine.com/t/how-to-manually-update-particle-position-in-niagara/437300/3 "2019-02-08T00:43:14Z")

</div>

Mind elaborating on your solution? I’m attempting something similar and would love a code snippet or a description of where to look. Are you just shoving vectors into a rendertexture, and using the niagara sampling and calculating UV from their index? Is your texture 1d?

---

<div class="post-metadata">

**Author:** ![Babymaster3000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Babymaster3000](https://forums.unrealengine.com/u/Babymaster3000)\
**Post date:** [January 17, 2020, 7:44pm UTC](https://forums.unrealengine.com/t/how-to-manually-update-particle-position-in-niagara/437300/4 "2020-01-17T19:44:59Z")

</div>

Use texture uv as particle index, texel colour as xyz coord maybe?

---

<div class="post-metadata">

**Author:** ![osiris\_dev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/osiris_dev/32/88710_2.png) [@osiris\_dev](https://forums.unrealengine.com/u/osiris_dev)\
**Post date:** [June 24, 2020, 2:19pm UTC](https://forums.unrealengine.com/t/how-to-manually-update-particle-position-in-niagara/437300/5 "2020-06-24T14:19:00Z")

</div>

Can you please give me more details, I have a wall with 2 materials blended with mask, I want to use this mask with static mesh to allow particles be spawn only where mask is allowing

---

<div class="post-metadata">

**Author:** ![PinoDFTGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pinodftgames/32/903051_2.png) [@PinoDFTGames](https://forums.unrealengine.com/u/PinoDFTGames)\
**Post date:** [July 26, 2020, 11:08pm UTC](https://forums.unrealengine.com/t/how-to-manually-update-particle-position-in-niagara/437300/6 "2020-07-26T23:08:14Z")

</div>

Not sure: I’m trying that but I can’t seem to find any way to update the texture at every tick without a huge hit on FPS.
