# How to get niagara particle ID in module script?

**URL:** <https://forums.unrealengine.com/t/how-to-get-niagara-particle-id-in-module-script/435657>\
**Category:** FX\
**Tags:** unreal-engine, question\
**Created:** [October 15, 2018, 10:48am UTC](https://forums.unrealengine.com/t/how-to-get-niagara-particle-id-in-module-script/435657 "2018-10-15T10:48:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uniky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Uniky](https://forums.unrealengine.com/u/Uniky)\
**Post date:** [October 15, 2018, 10:48am UTC](https://forums.unrealengine.com/t/how-to-get-niagara-particle-id-in-module-script/435657/1 "2018-10-15T10:48:48Z")

</div>

I can choose the particle id channel, but it doesn’t work. What are the ranges of those IDs？

 ![256629-n.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/1/a416ad337eea958a553a42f0069ef72462e058ef.jpeg)

---

<div class="post-metadata">

**Author:** ![hextrap](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hextrap](https://forums.unrealengine.com/u/hextrap)\
**Post date:** [January 21, 2019, 11:42pm UTC](https://forums.unrealengine.com/t/how-to-get-niagara-particle-id-in-module-script/435657/2 "2019-01-21T23:42:01Z")

</div>

There’s a checkbox “Requires Persistent IDs” in the Emitter Properties module. That should enable ID indexing

---

<div class="post-metadata">

**Author:** ![GeekToBe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GeekToBe](https://forums.unrealengine.com/u/GeekToBe)\
**Post date:** [May 3, 2019, 9:27am UTC](https://forums.unrealengine.com/t/how-to-get-niagara-particle-id-in-module-script/435657/3 "2019-05-03T09:27:15Z")

</div>

Hi,

It’s seems that **GPU Compute Sim** mode don’t work with **Particle ID** , when I choose **CPUSim** it work’s fine !

This is a bug or there is another way to do that with **GPU Compute Sim** Mode ?

All flags set to true in **Module Usage Bitmask** in details panel :

 ![275877-niagaraparticleid-gpuflags.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/0/8d054b607f4e9abd6a12382e397ade157b8dba12.png)

Thanks for help ! =D
