# Problem to anim a door with a lerp Rotator

**URL:** <https://forums.unrealengine.com/t/problem-to-anim-a-door-with-a-lerp-rotator/409961>\
**Category:** Character & Animation\
**Tags:** lerp, unreal-engine, Blueprint, question\
**Created:** [November 18, 2017, 4:10pm UTC](https://forums.unrealengine.com/t/problem-to-anim-a-door-with-a-lerp-rotator/409961 "2017-11-18T16:10:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Evis](https://forums.unrealengine.com/u/Evis)\
**Post date:** [November 18, 2017, 4:10pm UTC](https://forums.unrealengine.com/t/problem-to-anim-a-door-with-a-lerp-rotator/409961/1 "2017-11-18T16:10:58Z")

</div>

I’ve made the following Blueprint which is basicly a door. The door opens both ways simply with physics constraints on the door mesh (the player ‘push’ the door by moving forward). In the Event Graph I’ve just wanted to make a system that close the door when the player pawn is away from the door. And that work well… once. When the player walk through the door for the first time and exit it, the door close correctly. But if you do it a second time the door will directly snap to the default position, mention as Start Rotation in the BP (which the rotation of the door when it’s close).  
So my questions are, why is this working only the first time and what should I do to correct it?  
Thanks for reading!

 ![220619-ue4-question-capture-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/f/fff3ced07dc0efb5c5d413ef23feab7e5f82bdb7.png)

 ![220631-ue4-question-capture-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/1/08195a1a209c7253baaa14054566c6d060e69e43.png)

 ![220632-ue4-question-capture-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/7/c77f4b864741820f84f751a386635cd0d7876bfd.png)

 ![220633-ue4-question-capture-4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/6/1266dfd3de430b33f59cfde07b897096c74f9e5e.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 18, 2017, 9:51pm UTC](https://forums.unrealengine.com/t/problem-to-anim-a-door-with-a-lerp-rotator/409961/2 "2017-11-18T21:51:12Z")

</div>

> And that work well… once.

Timeline is like a VHS tape - it plays till the end _and_ stays at the end. Once the TL has finished and you try to Play it again, it spits out the value found at its very end, making your door snap to that value instantly - the end of the animation.

You need to rewind it. Either _PlayFromStart_ or _SetNewTime_ and then _Play_

That should be it. Let me know in case I misinterpreted the code.

---

<div class="post-metadata">

**Author:** ![Evis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Evis](https://forums.unrealengine.com/u/Evis)\
**Post date:** [November 19, 2017, 12:55pm UTC](https://forums.unrealengine.com/t/problem-to-anim-a-door-with-a-lerp-rotator/409961/3 "2017-11-19T12:55:10Z")

</div>

I’ve just changed from ‘Play’ to ‘Play from Start’ and it’s work perfectly now!

Thank you very much Everynone for your answer (with the explanation, hats off to the artist!!).
