# how to make grid location and sample texture kill particles in latest version of unreal

**URL:** <https://forums.unrealengine.com/t/how-to-make-grid-location-and-sample-texture-kill-particles-in-latest-version-of-unreal/2636790>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [August 10, 2025, 1:16pm UTC](https://forums.unrealengine.com/t/how-to-make-grid-location-and-sample-texture-kill-particles-in-latest-version-of-unreal/2636790 "2025-08-10T13:16:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![psychogranade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@psychogranade](https://forums.unrealengine.com/u/psychogranade)\
**Post date:** [August 10, 2025, 1:16pm UTC](https://forums.unrealengine.com/t/how-to-make-grid-location-and-sample-texture-kill-particles-in-latest-version-of-unreal/2636790/1 "2025-08-10T13:16:43Z")

</div>

okay so i am using 2 grid nodes; spawn particle in grid and grid location (grid works as intended) and a sample texture node, in the sample texture node u can find “sample rejection” and i am stuck on as what to put in the “B value” i’ve tried multiple things (gridcellcoordinate, gridUVW, even more complicated structures using these) and even looked up a couple of tutorials and none of them seem to work

what do i put in B so that it goes over every particle looks at it’s location and checks with the texture for it"s black and white value there
