# Moving Text along spline through Blueprint / Sequencer performance issue

**URL:** <https://forums.unrealengine.com/t/moving-text-along-spline-through-blueprint-sequencer-performance-issue/1241472>\
**Category:** Blueprint\
**Tags:** unreal-engine, sequence, question, Blueprint\
**Created:** [July 27, 2023, 8:30am UTC](https://forums.unrealengine.com/t/moving-text-along-spline-through-blueprint-sequencer-performance-issue/1241472 "2023-07-27T08:30:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BF-Frederic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bf-frederic/32/624575_2.png) [@BF-Frederic](https://forums.unrealengine.com/u/BF-Frederic)\
**Post date:** [July 27, 2023, 8:30am UTC](https://forums.unrealengine.com/t/moving-text-along-spline-through-blueprint-sequencer-performance-issue/1241472/1 "2023-07-27T08:30:11Z")

</div>

I’m using a Blueprint for moving text along a spline. I’m using the setup illustrated in the screenshots below. It’s used in sequencer, and running in the Construction Script ( with Sequencer calling that one every frame). It works just fine if it’s just 5-8 words, but when I add more (like 30-50 words in total), the editor gets very laggy (below 10 FPS). Is there any way to improve on this? My guess is that the part of setting up the text render (first image) doesn’t have to be called every frame, just when I edit the BP in the level. But how could I prevent just that part from being called by the sequencer?

 ![AK-Q-TextRender-01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/c/8dc5f7dcef1f37aca92135cc856e1d3be9470139.png)

 ![AK-Q-TextRender-02-Transform](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/a/87a71331a39b1193667291ad9c683305dd679712.png)

---

<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:** [July 27, 2023, 8:45am UTC](https://forums.unrealengine.com/t/moving-text-along-spline-through-blueprint-sequencer-performance-issue/1241472/2 "2023-07-27T08:45:32Z")

</div>

It will be very lumpy, if you’re trying to ‘animate’ the construction script.

Just move all this code into the main graph, and use a timeline to move along the spline, and it should be fine.

---

<div class="post-metadata">

**Author:** ![BF-Frederic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bf-frederic/32/624575_2.png) [@BF-Frederic](https://forums.unrealengine.com/u/BF-Frederic)\
**Post date:** [July 27, 2023, 9:42am UTC](https://forums.unrealengine.com/t/moving-text-along-spline-through-blueprint-sequencer-performance-issue/1241472/3 "2023-07-27T09:42:00Z")

</div>

Thanks for the quick reply!

Actually the setup is from your solution here, thanks again!

> [@Move Text/3D-Text along spline](https://forums.unrealengine.com/t/move-text-3d-text-along-spline/407984/6):
>
> 1: No matter what i did, i just couldn’t get the TextRender to adapt to the shape of my spline. I guess you have to do some manual work to the TextRender (set start/end position/tangents), which i wasn’t able to figure out how to do it. As I mentioned initially, text render is not a spline mesh so it cannot be deformed by the spline. A potential solution would be to make a text render for every letter: MyText is converted to an array of letters, and for ev…

> [@ClockworkOcean](#):
>
> Just move all this code into the main graph, and use a timeline to move along the spline, and it should be fine.

I assume with “main graph” you’re referring to the Event Graph, and with “timeline” to the Sequencer? How do you access the Event Graph from the sequencer? I’ve already got the Event Graph set up for rendering everything out with MRQ (since that one doesn’t work with Construction Script), but I’m not sure how to make the blueprint update the tick every frame from within Sequencer.

Currently I’m having three variables that I’m animating through sequencer (Size X, Spacing Offset and Start Offset), and they animate because “Rerun Construction Scripts” is activated.

---

<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:** [July 27, 2023, 9:49am UTC](https://forums.unrealengine.com/t/moving-text-along-spline-through-blueprint-sequencer-performance-issue/1241472/4 "2023-07-27T09:49:54Z")

</div>

That’s not me, that’s @Everynone 🙂

I mean copy and paste the code into the main event graph. Ditch the sequencer, and use a timeline node to move the text. ( and scale it etc ).
