# Read Grid 2D Collection in Particle Update Stage in Niagara

**URL:** <https://forums.unrealengine.com/t/read-grid-2d-collection-in-particle-update-stage-in-niagara/2029698>\
**Category:** FX\
**Tags:** unreal-engine, question\
**Created:** [September 20, 2024, 1:26pm UTC](https://forums.unrealengine.com/t/read-grid-2d-collection-in-particle-update-stage-in-niagara/2029698 "2024-09-20T13:26:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kk\_stu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kk\_stu](https://forums.unrealengine.com/u/kk_stu)\
**Post date:** [September 20, 2024, 1:26pm UTC](https://forums.unrealengine.com/t/read-grid-2d-collection-in-particle-update-stage-in-niagara/2029698/1 "2024-09-20T13:26:03Z")

</div>

Has anyone succeed to access the specified cell of a Grid 2D Collection in a Scratch Pad in the Particle Update stage in Niagara System?

What I want to achieve;  
-Niagara System contains two elements; Grid 2D Collection and grid-shaped layout particles, whose resolutions are the same  
-Contain 2D simulation result in a Grid 2D Collection  
-Assign the simulation result as an attribute of corresponding particles

What I’ve tried;  
-Create a Scratch Pad in the Particle Update stage  
-In the Scratch Pad, add a Get Previous Float Value node that takes the Grid 2D Collection input as a reference

 ![スクリーンショット 2024-09-20 171758](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/6/a8699ec92ca8abc258a614bb86730b9d8a8f1a51.png)

Issue;  
-Execution of the stages in the particle emitter stops at the Scratch Pad  
-Even if I specified the index of the cell to read (like {0, 0}), the result was the same  
-No error messages on the Niagara Logs

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![kk\_stu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kk\_stu](https://forums.unrealengine.com/u/kk_stu)\
**Post date:** [September 24, 2024, 12:43am UTC](https://forums.unrealengine.com/t/read-grid-2d-collection-in-particle-update-stage-in-niagara/2029698/2 "2024-09-24T00:43:46Z")

</div>

The version of the Unreal Engine is 5.4.4.  
Thanks!

---

<div class="post-metadata">

**Author:** ![NuShrike1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NuShrike1](https://forums.unrealengine.com/u/NuShrike1)\
**Post date:** [March 22, 2025, 10:08pm UTC](https://forums.unrealengine.com/t/read-grid-2d-collection-in-particle-update-stage-in-niagara/2029698/3 "2025-03-22T22:08:33Z")

</div>

I’ve been using Grid2D’s SamplePreviousGridFloatValue in Unreal Engine v5.5.4 (DirectX) in Niagara in ParticleUpdate and I’ve been getting valid values out of it. It’s also working under Meta’s UE fork v5.5.1 (DirectX).

It seems to be working now?

I’ve been only fetch single-value floats so far, and I did initialize a matching size of the grid vs my render-target. I did not bind the Grid2D to the render-target as the option has in SetParameter as that clears my RenderTarget to (0.5, 0, 0, 0) (RGBA).
