# Add spline point in Runtime from Blueprint

**URL:** <https://forums.unrealengine.com/t/add-spline-point-in-runtime-from-blueprint/467319>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 27, 2020, 3:53am UTC](https://forums.unrealengine.com/t/add-spline-point-in-runtime-from-blueprint/467319 "2020-06-27T03:53:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rag1804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Post date:** [June 27, 2020, 3:53am UTC](https://forums.unrealengine.com/t/add-spline-point-in-runtime-from-blueprint/467319/1 "2020-06-27T03:53:16Z")

</div>

I want to add a spline point in between 2 spline points like this. I am confused like how to work with spline point or points

Whenever i click play point C should be added in between point A and Point B and also how can i get the length between Point C to A and Point C to B

 ![305561-annotation-2020-06-26-152114.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/0/f409f86e3ef4fe7e81c3685cd19db9959b9d268e.png)

---

<div class="post-metadata">

**Author:** ![Marcis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marcis/32/1103070_2.png) [@Marcis](https://forums.unrealengine.com/u/Marcis)\
**Post date:** [June 27, 2020, 9:37am UTC](https://forums.unrealengine.com/t/add-spline-point-in-runtime-from-blueprint/467319/2 "2020-06-27T09:37:36Z")

</div>

I suggest you watch this tutorial about spline made by Epic

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/f/d5fa5743ed1274ad2b2b0229412fea7c8223956d.jpeg "Using Splines & Spline Components | Live Training | Unreal Engine") ](https://www.youtube.com/watch?v=wR0fH6O9jD8)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 27, 2020, 10:04am UTC](https://forums.unrealengine.com/t/add-spline-point-in-runtime-from-blueprint/467319/3 "2020-06-27T10:04:36Z")

</div>

So, I make a new empty actor blueprint and put a spline in it like this:

 ![305559-spline.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/2/9f26b1d33329981f7ae17857b8b0b1183f7d6ca9.jpeg)

Then I put it in the level:

 ![305560-level.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/0/6b036498639a6482080ef868c10fdfc99164b354.jpeg)

The only problem is, if I add a point during play, you can’t see it. So I made a custom event which you can call in the editor ( you don’t press play ), like this:

 ![305563-add-point.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/4/704c14cf8a2b171c104c48fb23c8f3ca9b433c3a.jpeg)

See it always adds a point halfway between the first two points. Now, when I select the blueprint in the level, I’ve got an extra button:

 ![305572-button.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/b/d3b11b54155e4453729057d3eab58dc092a7f211.jpeg)

and when I click it, boom, extra point:

![305573-point.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/c/e8c99c25eb292719d544a259fd374b86b5abbceb.jpeg)

So, to answer your second question, you can find the place between two points just by adding their locations and dividing by 2, just like you would do to find the number between two integers.

---

<div class="post-metadata">

**Author:** ![Rag1804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Post date:** [June 27, 2020, 11:23am UTC](https://forums.unrealengine.com/t/add-spline-point-in-runtime-from-blueprint/467319/4 "2020-06-27T11:23:04Z")

</div>

You are awesome.How can i follow you in youtube or twitter or any other except this please let me know. And please tell me how can i become like pro in unreal like you can answer most of the questions

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 27, 2020, 12:05pm UTC](https://forums.unrealengine.com/t/add-spline-point-in-runtime-from-blueprint/467319/5 "2020-06-27T12:05:45Z")

</div>

Thank you.

Sorry, I don’t have any followable streams at the moment 🙂

If you wanna get good at it just keep going, and going, and going… 🙂
