# Transferring changes of transform with different coefficients for each element of the array.

**URL:** <https://forums.unrealengine.com/t/transferring-changes-of-transform-with-different-coefficients-for-each-element-of-the-array/883911>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [April 10, 2023, 5:56pm UTC](https://forums.unrealengine.com/t/transferring-changes-of-transform-with-different-coefficients-for-each-element-of-the-array/883911 "2023-04-10T17:56:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexZrby](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlexZrby](https://forums.unrealengine.com/u/AlexZrby)\
**Post date:** [April 10, 2023, 5:56pm UTC](https://forums.unrealengine.com/t/transferring-changes-of-transform-with-different-coefficients-for-each-element-of-the-array/883911/1 "2023-04-10T17:56:24Z")

</div>

Hello everyone, could you tell me how to implement the logic of transferring changes of transform (n this case only Y axis) with different coefficients for each element of the array? Down is an example but with a coefficient of 1 for all elements of the array, I need the coefficient for the first two elements to be 1 for the next two 0.35 for the last two 0.25.

 ![image_2023-04-10_18-01-12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/8/3f808c4834ba08f5734bc3f69bbec6aed7e3251b.png)

---

<div class="post-metadata">

**Author:** ![Jnat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jnat/32/927460_2.png) [@Jnat](https://forums.unrealengine.com/u/Jnat)\
**Post date:** [April 10, 2023, 9:19pm UTC](https://forums.unrealengine.com/t/transferring-changes-of-transform-with-different-coefficients-for-each-element-of-the-array/883911/2 "2023-04-10T21:19:20Z")

</div>

Hi @AlexZrby ,  
Create a second array of floats with you coefficients, and read the value using the Index from the Rig Element Key Array in your for loop. You’ll be able to recover the right coefficient as long as your Float Coefficient array is the same size and in the same order.

something like that

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/9/219ec6ca8b3c3aab769dbd5cfbef48eb3f697c21.png)

---

<div class="post-metadata">

**Author:** ![AlexZrby](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlexZrby](https://forums.unrealengine.com/u/AlexZrby)\
**Post date:** [April 11, 2023, 11:12am UTC](https://forums.unrealengine.com/t/transferring-changes-of-transform-with-different-coefficients-for-each-element-of-the-array/883911/3 "2023-04-11T11:12:34Z")

</div>

Omg it works, thanks. 😁 Maybe it helps somebody. The final result.

 ![изображение](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/6/ec6439f3dc062e7a56c39867cab996b0beeea0d6.jpeg)

---

<div class="post-metadata">

**Author:** ![Jnat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jnat/32/927460_2.png) [@Jnat](https://forums.unrealengine.com/u/Jnat)\
**Post date:** [April 11, 2023, 11:14am UTC](https://forums.unrealengine.com/t/transferring-changes-of-transform-with-different-coefficients-for-each-element-of-the-array/883911/4 "2023-04-11T11:14:03Z")

</div>

You are welcome 😉
