# Keep spline component edits while simulating (running)

**URL:** <https://forums.unrealengine.com/t/keep-spline-component-edits-while-simulating-running/681876>\
**Category:** World Creation\
**Tags:** Level-Editing, unreal-engine, Spline, editor, question\
**Created:** [November 1, 2022, 7:07pm UTC](https://forums.unrealengine.com/t/keep-spline-component-edits-while-simulating-running/681876 "2022-11-01T19:07:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![geordie\_meta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@geordie\_meta](https://forums.unrealengine.com/u/geordie_meta)\
**Post date:** [November 1, 2022, 7:07pm UTC](https://forums.unrealengine.com/t/keep-spline-component-edits-while-simulating-running/681876/1 "2022-11-01T19:07:47Z")

</div>

Hi all, trying to hack together a prototype that requires a spline component in a level that’s all dynamically generated ie not visible unless you’re running the game.

I want to edit the spline while running but keep the changes. I thought I could just edit the spline and press K / right click “keep simulation changes” but this doesn’t seem to save the spline data.

Is there a way to edit a spline component while playing in editor and keeping the changes?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 1, 2022, 10:38pm UTC](https://forums.unrealengine.com/t/keep-spline-component-edits-while-simulating-running/681876/2 "2022-11-01T22:38:50Z")

</div>

You could iterate over the spline saving out each point and tangent and saving that to a struct and either serialize it with json or just save it through the savegame system. Then you would just load this data and apply it to the spline at runtime.

---

<div class="post-metadata">

**Author:** ![geordie\_meta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@geordie\_meta](https://forums.unrealengine.com/u/geordie_meta)\
**Post date:** [November 3, 2022, 5:06pm UTC](https://forums.unrealengine.com/t/keep-spline-component-edits-while-simulating-running/681876/3 "2022-11-03T17:06:28Z")

</div>

Thanks! Yeah know I can implement a way but didn’t know if I was missing something about how “Keep Simulation Changes” worked. Guess it only works on simple input fields like transforms and material settings etc.
