# Niagara Ribbon based on User Position Array

**URL:** <https://forums.unrealengine.com/t/niagara-ribbon-based-on-user-position-array/581075>\
**Category:** FX\
**Tags:** unreal-engine, UE5-0, question\
**Created:** [June 13, 2022, 7:09pm UTC](https://forums.unrealengine.com/t/niagara-ribbon-based-on-user-position-array/581075 "2022-06-13T19:09:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bas3008](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bas3008/32/469680_2.png) [@Bas3008](https://forums.unrealengine.com/u/Bas3008)\
**Post date:** [June 13, 2022, 7:09pm UTC](https://forums.unrealengine.com/t/niagara-ribbon-based-on-user-position-array/581075/1 "2022-06-13T19:09:18Z")

</div>

Hello,

I’m a new to Niagara Particles and I’m looking for an approach to my idea:

I made a custom rope blueprint. The rope wraps around object, so the rope consists of start- and end-point and optional wrap points. All those are stored in a vector array.

Now my plan is to use a ribbon particle system to display the rope. Every tick I’m feeding the array with the positions into a Niagara System, where I have a User Position Array named ‘RopePositions’. That’s working so far. But how would I tell the ribbon particles to use the array’s positions? My current approach is a module, that gets the ExecutionIndex of the current particle and uses it as index in the position array. That value is then used for the current particles position. (see picture below)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/3/5/8358f4a6b04feb88d3249e762c217b039d7de0a2.png)

That is not working too well though, the ribbon is jumping between points seemingly randomly. Is this the wrong approach, what might I be doing wrong? Maybe “Execution Index” is not the correct way to address the current particle? Please keep in mind that the array is changing in size, depending on the wrap points.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Michael.Galetzka](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/michael.galetzka/32/924122_2.png) [@Michael.Galetzka](https://forums.unrealengine.com/u/Michael.Galetzka)\
**Post date:** [June 21, 2022, 4:10pm UTC](https://forums.unrealengine.com/t/niagara-ribbon-based-on-user-position-array/581075/2 "2022-06-21T16:10:04Z")

</div>

Use the particle ID instead, not the execution index.

---

<div class="post-metadata">

**Author:** ![Bas3008](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bas3008/32/469680_2.png) [@Bas3008](https://forums.unrealengine.com/u/Bas3008)\
**Post date:** [June 24, 2022, 9:14am UTC](https://forums.unrealengine.com/t/niagara-ribbon-based-on-user-position-array/581075/3 "2022-06-24T09:14:08Z")

</div>

Thanks for the answer, that didn’t improve it though. But now I also output the execution index into the Ribbon Link Order, and now the Ribbon knows which order it has to connect the positions and isn’t jumping anymore.

---

<div class="post-metadata">

**Author:** ![jayraj300minds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jayraj300minds](https://forums.unrealengine.com/u/jayraj300minds)\
**Post date:** [January 8, 2025, 2:37pm UTC](https://forums.unrealengine.com/t/niagara-ribbon-based-on-user-position-array/581075/4 "2025-01-08T14:37:34Z")

</div>

i am Doing the same thing

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/1/1510887c182e9582a57e212234bd558c89f96ded.jpeg)  
but i am unable to make them connect can you share how you did it
