# How to copy Spline Component points?

**URL:** <https://forums.unrealengine.com/t/how-to-copy-spline-component-points/404452>\
**Category:** Blueprint\
**Tags:** splinecomponent, unreal-engine, UE4, Blueprint, question\
**Created:** [September 13, 2017, 6:15am UTC](https://forums.unrealengine.com/t/how-to-copy-spline-component-points/404452 "2017-09-13T06:15:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elledan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elledan](https://forums.unrealengine.com/u/Elledan)\
**Post date:** [September 13, 2017, 6:15am UTC](https://forums.unrealengine.com/t/how-to-copy-spline-component-points/404452/1 "2017-09-13T06:15:31Z")

</div>

Hello guys! Can anybody share decision: how to copy/clone/duplicate spline component points?

If I do something like this:

![213305-снимок.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/8/d/68d4e715e3dfffd1d654c3040bb531d622cd370e.png)

It set pointer (reference) from “ForwardSpline” to the SplineComponent of my “SpawnedActor”.  
Spline Component has no methods like: get(copy) or clone object.  
Also: I can’t call function like: GetSplinePoints, but UE4 has method SetSplinePoints (why?). I can’t get array of Spline points.

So I have no idea, how to copy Spline Component points.

---

<div class="post-metadata">

**Author:** ![Elledan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elledan](https://forums.unrealengine.com/u/Elledan)\
**Post date:** [September 13, 2017, 10:29am UTC](https://forums.unrealengine.com/t/how-to-copy-spline-component-points/404452/2 "2017-09-13T10:29:11Z")

</div>

Okay… There is decision:

 ![213342-снимок.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/4/c/b4c34fb6997f7e303409c18b15c8fd206ac302de.png)

And my function body:  
213344-

---

<div class="post-metadata">

**Author:** ![blindminds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blindminds/32/1213160_2.png) [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Post date:** [August 7, 2020, 4:13pm UTC](https://forums.unrealengine.com/t/how-to-copy-spline-component-points/404452/3 "2020-08-07T16:13:43Z")

</div>

This would help me in what I am doing, excpet I cannot find a “Get Spline Point at Index” ☹  
All I find is seperate functions to get all the point attributes individually??

---

<div class="post-metadata">

**Author:** ![laggyluk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Post date:** [November 29, 2020, 11:59am UTC](https://forums.unrealengine.com/t/how-to-copy-spline-component-points/404452/4 "2020-11-29T11:59:28Z")

</div>

click the first screenshot link 😛  
it’s custom function that constructs ‘spline point’

---

<div class="post-metadata">

**Author:** ![laggyluk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Post date:** [November 29, 2020, 12:00pm UTC](https://forums.unrealengine.com/t/how-to-copy-spline-component-points/404452/5 "2020-11-29T12:00:02Z")

</div>

or rather second screenshot

---

<div class="post-metadata">

**Author:** ![j.f.seaghda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@j.f.seaghda](https://forums.unrealengine.com/u/j.f.seaghda)\
**Post date:** [August 29, 2022, 10:54am UTC](https://forums.unrealengine.com/t/how-to-copy-spline-component-points/404452/6 "2022-08-29T10:54:21Z")

</div>

Hey I was wondering what happened to your second screenshot? Would it be possible to re upload it as I am having a similar issue that I would like to resolve 🙂

---

<div class="post-metadata">

**Author:** ![eMKa\_007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eMKa\_007](https://forums.unrealengine.com/u/eMKa_007)\
**Post date:** [September 15, 2022, 9:11am UTC](https://forums.unrealengine.com/t/how-to-copy-spline-component-points/404452/7 "2022-09-15T09:11:03Z")

</div>

Hey, if you are still interested in ‘GetSplinePointAtIndex’- this topic was covered here: [Get All Spline Points of a Spline Component?!](https://forums.unrealengine.com/t/get-all-spline-points-of-a-spline-component-blueprint-only/410487/2)

Mr [Everynone](https://forums.unrealengine.com/u/Everynone) has got a look at the spline point. I’ll repost his ss here just for convenience.

 ![221347-capture](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/5/6b5c6426e0becdb446a87e09d669f0bb43436c1f.png)
