# Does constantly played timeline may cause preformance issues?

**URL:** <https://forums.unrealengine.com/t/does-constantly-played-timeline-may-cause-preformance-issues/2481576>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [April 29, 2025, 4:58pm UTC](https://forums.unrealengine.com/t/does-constantly-played-timeline-may-cause-preformance-issues/2481576 "2025-04-29T16:58:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rexow12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rexow12](https://forums.unrealengine.com/u/Rexow12)\
**Post date:** [April 29, 2025, 4:58pm UTC](https://forums.unrealengine.com/t/does-constantly-played-timeline-may-cause-preformance-issues/2481576/1 "2025-04-29T16:58:19Z")

</div>

I’m using timeline to update float value once over time when falling and to reverse it over time when walking. This works as intented for now, but I was wondering wheter constant (every frame) play and reverse call may cause preformance issues over time. Yea just let me know if this is a bad practice.

 ![Zrzut ekranu 2025-04-29 184835](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/3/5a3b8365638683ba32cee2f515eb2ec418916ed9.png)  
This is how this function look overall.

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [April 30, 2025, 8:14am UTC](https://forums.unrealengine.com/t/does-constantly-played-timeline-may-cause-preformance-issues/2481576/2 "2025-04-30T08:14:42Z")

</div>

> [@Rexow12](#):
>
> I was wondering wheter constant (every frame) play and reverse call may cause preformance issues over time.

I don’t think this is the main concern here. Plus, it doesn’t actually function the way you think it does, because the TL is reset every time it’s triggered, so the TL doesn’t actually do anything there, nothing will change if you remove it. But maybe you want the movement to continue a little more after the input is over. In that case, you can use an enhanced input action, place a TL after it’s completed pin, and add movement input in the saved input vector’s direction _(you’d create a variable for that)_. And still, you wouldn’t use the float track at all, because the movement component handles that.

> [@Rexow12](#):
>
> just let me know if this is a bad practice.

The bad practice here is how you handle the movement.

If the the game is third person, you’d do it like this:

 ![Screenshot 2025-04-18 183329](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/d/5bdc03e006e7ab315dcfeb399b12e066d307517b.png)

And if it’s top down, it’d be like this:

 ![Screenshot 2025-04-18 183610](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/d/66dd2f26448148a52add29996240e7cdc4577373.png)

The IMC:

 ![Screenshot 2025-04-18 183804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/0/c10128855128f0c9fdc708de10d5feb08cf2acf7.png)

About falling, the character movement component already handles that. And you’d probably wanna use a character class for the player character unless you’re gonna go with some unusual movement mechanics. And considering you’re already using the `Add Movement Input` node, you already have a character class. Maybe pawn tho and you’re using the floating movement component.

If the reason you’re using a timeline here is to make the movement frame independent, don’t worry! The movement component again, already handles that. I guess there might be small differences between the usual framerates like 60, 120 or 240 where we’d observe consistent outcomes and extremely low framerates such as 20 or 15, but it’s really unnecessary to try to change that.

Hope this clears things up 😇

---

<div class="post-metadata">

**Author:** ![Rexow12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rexow12](https://forums.unrealengine.com/u/Rexow12)\
**Post date:** [May 7, 2025, 5:47pm UTC](https://forums.unrealengine.com/t/does-constantly-played-timeline-may-cause-preformance-issues/2481576/3 "2025-05-07T17:47:51Z")

</div>

Hi, thanks for the replay. It’s good to know that calling timeline will not cause many issues, this was my main concern. As for other things, this small node snippet here is just as example as actuall thing is a bit larger. The timeline is used to reduce movement input during fall. As for that EnhancedInputAction thing, I don’t think I have ever heard about it. I’m still using Unreal 4 and that IMC thing looks like Unreal 5 to me, so I might have meaby set wrong engine for my question. But still, thanks for the answer.
