# Timeline lerp vector anim plays perfectly once and then never again.

**URL:** <https://forums.unrealengine.com/t/timeline-lerp-vector-anim-plays-perfectly-once-and-then-never-again/924548>\
**Category:** Character & Animation\
**Tags:** unreal-engine, question\
**Created:** [April 13, 2023, 5:21pm UTC](https://forums.unrealengine.com/t/timeline-lerp-vector-anim-plays-perfectly-once-and-then-never-again/924548 "2023-04-13T17:21:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fartificial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fartificial](https://forums.unrealengine.com/u/fartificial)\
**Post date:** [April 13, 2023, 5:21pm UTC](https://forums.unrealengine.com/t/timeline-lerp-vector-anim-plays-perfectly-once-and-then-never-again/924548/1 "2023-04-13T17:21:04Z")

</div>

I’m making a game with a machine in it, when you interact with the machine, it’s going to play a simple animation that makes it look like it’s turning one object into another; but it’s actually just going to be a static mesh made visible moving into one hole of the machine then being set to invisible, while another static mesh is made visible, and moving out of the machine.

It works fine the first time the player interacts with the machine, but after that it skips the animation completely and the new object just suddenly appears. I’ve tried to figure out what the problem is, but I can’t get it to work.

 ![lerpanim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/f/5ffd2e2300f2c73e6889dde64ed6b0df419b4b59.jpeg)

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [April 13, 2023, 5:31pm UTC](https://forums.unrealengine.com/t/timeline-lerp-vector-anim-plays-perfectly-once-and-then-never-again/924548/2 "2023-04-13T17:31:09Z")

</div>

Hi fartificial,

Try hooking the timelines up to the “PlayFromStart” rather than the “Play”.

---

<div class="post-metadata">

**Author:** ![fartificial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fartificial](https://forums.unrealengine.com/u/fartificial)\
**Post date:** [April 13, 2023, 5:45pm UTC](https://forums.unrealengine.com/t/timeline-lerp-vector-anim-plays-perfectly-once-and-then-never-again/924548/3 "2023-04-13T17:45:00Z")

</div>

That fixes the first part of the animation, it plays and replays exactly how it should. The second part of the animation, with the second timeline starts repeating two, or even three times.

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [April 13, 2023, 5:47pm UTC](https://forums.unrealengine.com/t/timeline-lerp-vector-anim-plays-perfectly-once-and-then-never-again/924548/4 "2023-04-13T17:47:25Z")

</div>

Remove the 2sec delay after the SetLocation, and wire up the 2nd Timeline from the first Timelines “Finished” pin. (and the same for the 2nd one and the 1sec delay)

---

<div class="post-metadata">

**Author:** ![fartificial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fartificial](https://forums.unrealengine.com/u/fartificial)\
**Post date:** [April 13, 2023, 7:17pm UTC](https://forums.unrealengine.com/t/timeline-lerp-vector-anim-plays-perfectly-once-and-then-never-again/924548/5 "2023-04-13T19:17:54Z")

</div>

> [@RecourseDesign](#):
>
> SetLocation, and wire up the 2nd Timeline from the first Timelines “Finished” pin. (

It’s working perfectly now, thank you for saving me a thousand headaches!
