# About hands of card game

**URL:** <https://forums.unrealengine.com/t/about-hands-of-card-game/677382>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [October 26, 2022, 10:30am UTC](https://forums.unrealengine.com/t/about-hands-of-card-game/677382 "2022-10-26T10:30:25Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![0u0high](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0u0high](https://forums.unrealengine.com/u/0u0high)\
**Post date:** [October 27, 2022, 10:49am UTC](https://forums.unrealengine.com/t/about-hands-of-card-game/677382/23 "2022-10-27T10:49:52Z")

</div>

How can I dynamically change the duration of a spline from BP?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 27, 2022, 10:50am UTC](https://forums.unrealengine.com/t/about-hands-of-card-game/677382/24 "2022-10-27T10:50:57Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/a/eaade0220c0864ba36a6227b81c06f97dc5cb1f4.png)

---

<div class="post-metadata">

**Author:** ![0u0high](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0u0high](https://forums.unrealengine.com/u/0u0high)\
**Post date:** [October 27, 2022, 11:07am UTC](https://forums.unrealengine.com/t/about-hands-of-card-game/677382/25 "2022-10-27T11:07:10Z")

</div>

You have saved our lives. We are eternally grateful 😆  
Thank you

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/f/26fa07677b9ceb67fee79b515e0f3ceb599a7f84.jpeg)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 27, 2022, 11:11am UTC](https://forums.unrealengine.com/t/about-hands-of-card-game/677382/26 "2022-10-27T11:11:37Z")

</div>

That was some incredibly rapid development 👀 Colour me impressed!

---

<div class="post-metadata">

**Author:** ![0u0high](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0u0high](https://forums.unrealengine.com/u/0u0high)\
**Post date:** [October 29, 2022, 4:25am UTC](https://forums.unrealengine.com/t/about-hands-of-card-game/677382/27 "2022-10-29T04:25:26Z")

</div>

Let me ask a question about Spline’s dynamic adjustment.  
I would like to dynamically change the length of the Spline based on the center of the Spline as shown in the following image, depending on the number of cards, how should I implement this?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/e/6ce089422dff93997313b179602d78c02eb7f4f5.png)

Currently, we have implemented the following BP, which specifies a fixed value for the position where the first card is spawned and the width from there, depending on the number of cards. However, it is quite difficult to manage and we are looking for a better way.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/2/ae267f3bcdaeb4f595bfbe6f8737cc32f426092c.png)

Variable: **New Var 0**

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/4/46488998db51f67eebdf6e3ba513367d11595a41.png)

---

<div class="post-metadata">

**Author:** ![Krein](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krein](https://forums.unrealengine.com/u/Krein)\
**Post date:** [May 7, 2024, 3:33pm UTC](https://forums.unrealengine.com/t/about-hands-of-card-game/677382/28 "2024-05-07T15:33:01Z")

</div>

Basic implementation (using Spline) → [Microsoft OneDrive](https://1drv.ms/u/s!ArIqELt35-B-haA1HlupFMdSRgXzwA?e=4aghB7)

[Previous page](https://forums.unrealengine.com/t/about-hands-of-card-game/677382.md?page=1)
