# Timeline "Reverse from End" can have wrong direction at start

**URL:** <https://forums.unrealengine.com/t/timeline-reverse-from-end-can-have-wrong-direction-at-start/396921>\
**Category:** Blueprint\
**Tags:** timeline, unreal-engine, bug-report, Blueprint, question\
**Created:** [July 3, 2017, 12:50pm UTC](https://forums.unrealengine.com/t/timeline-reverse-from-end-can-have-wrong-direction-at-start/396921 "2017-07-03T12:50:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nomako](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nomako](https://forums.unrealengine.com/u/nomako)\
**Post date:** [July 3, 2017, 12:50pm UTC](https://forums.unrealengine.com/t/timeline-reverse-from-end-can-have-wrong-direction-at-start/396921/1 "2017-07-03T12:50:44Z")

</div>

After calling “Reverse from End” from timeline on first tick of “Update” the timeline’s Direction can be “Forward” not “Backward”. It depends on previous played direction.

Tested on 4.15.3 and 4.16.2

Example on picture:

 ![191548-2017-07-03_17-41-12.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/1/e51b7e3470246eb1e5b6e98c98c4c42855b060ba.png)

:

1. Press Q
2. Wait till finished
3. Press W

And in logs you’ll find something like this:

```
LogBlueprintUserMessages: [BP_Timeline_154] Forward | 0.983359
LogBlueprintUserMessages: [BP_Timeline_154] Forward | 0.991692
LogBlueprintUserMessages: [BP_Timeline_154] Forward | 1.0
LogBlueprintUserMessages: [BP_Timeline_154] ------
LogBlueprintUserMessages: [BP_Timeline_154] Forward | 1.0 <<<<<
LogBlueprintUserMessages: [BP_Timeline_154] Backward | 0.991666
LogBlueprintUserMessages: [BP_Timeline_154] Backward | 0.983333
```

And if you press W again:

```
LogBlueprintUserMessages: [BP_Timeline_154] Backward | 0.015384
LogBlueprintUserMessages: [BP_Timeline_154] Backward | 0.007051
LogBlueprintUserMessages: [BP_Timeline_154] Backward | 0.0
LogBlueprintUserMessages: [BP_Timeline_154] ------
LogBlueprintUserMessages: [BP_Timeline_154] Backward | 1.0 <<<<<
LogBlueprintUserMessages: [BP_Timeline_154] Backward | 0.991666
LogBlueprintUserMessages: [BP_Timeline_154] Backward | 0.983333
```

---

<div class="post-metadata">

**Author:** ![redbox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@redbox](https://forums.unrealengine.com/u/redbox)\
**Post date:** [July 3, 2017, 1:00pm UTC](https://forums.unrealengine.com/t/timeline-reverse-from-end-can-have-wrong-direction-at-start/396921/2 "2017-07-03T13:00:18Z")

</div>

According to log, everything is fine.

Every time you press Q, timeline will play from 0

Every time you press W, timeline will play from 1

If you want to play from previous result, you must use simple Play/Reverse, not “from Start/End”

---

<div class="post-metadata">

**Author:** ![nomako](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nomako](https://forums.unrealengine.com/u/nomako)\
**Post date:** [July 3, 2017, 1:31pm UTC](https://forums.unrealengine.com/t/timeline-reverse-from-end-can-have-wrong-direction-at-start/396921/3 "2017-07-03T13:31:38Z")

</div>

Look at Direction in logs (where \<\<\<\<\<\<\<). it should be “Backward” in both cases coz I start playing from end to start position.

Now it looks like, “oh. Im playing to the end… oh. im already on it, let’s go back to start”.

---

<div class="post-metadata">

**Author:** ![Divi\_Vilanui](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Divi\_Vilanui](https://forums.unrealengine.com/u/Divi_Vilanui)\
**Post date:** [September 13, 2019, 9:03am UTC](https://forums.unrealengine.com/t/timeline-reverse-from-end-can-have-wrong-direction-at-start/396921/4 "2019-09-13T09:03:49Z")

</div>

Issue still present on 4.23…

---

<div class="post-metadata">

**Author:** ![tang\_yw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tang\_yw](https://forums.unrealengine.com/u/tang_yw)\
**Post date:** [March 27, 2024, 1:58pm UTC](https://forums.unrealengine.com/t/timeline-reverse-from-end-can-have-wrong-direction-at-start/396921/5 "2024-03-27T13:58:11Z")

</div>

LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Forward::: 0.916669  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Forward::: 0.933336  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Forward::: 0.950003  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Forward::: 0.966669  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Forward::: 0.983336  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Forward::: 1.0  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] finish  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Forward::: 1.0  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Backward::: 0.983333  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Backward::: 0.966667  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Backward::: 0.95  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Backward::: 0.933333  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Backward::: 0.916666  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Backward::: 0.9  
LogBlueprintUserMessages: [BP\_Pawn\_test\_C\_0] Backward::: 0.883333

just to keep this up, ISSUE STILL EXISTS IN 5.2! But still thank this post, just for knowing that the bug I ran into wasn’t my problem. Hope it could be fix.

---

<div class="post-metadata">

**Author:** ![K3Z4](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/k3z4/32/491638_2.png) [@K3Z4](https://forums.unrealengine.com/u/K3Z4)\
**Post date:** [April 3, 2024, 3:36pm UTC](https://forums.unrealengine.com/t/timeline-reverse-from-end-can-have-wrong-direction-at-start/396921/6 "2024-04-03T15:36:21Z")

</div>

UE 5.3: Ran as expected and suddenly I get this weird behavior. My work-around is to check _timeline-\>IsPlaying()_ in the callback. When it returns false (and it does!) I early exit the callback. Now it works consistently as expected. Should be solved by Unreal, tho.

---

<div class="post-metadata">

**Author:** ![Dunkelza](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dunkelza](https://forums.unrealengine.com/u/Dunkelza)\
**Post date:** [March 24, 2025, 3:09pm UTC](https://forums.unrealengine.com/t/timeline-reverse-from-end-can-have-wrong-direction-at-start/396921/7 "2025-03-24T15:09:03Z")

</div>

Can confirm this bug still exists in 5.4.

@K3Z4 can you share a screenshot of what you mean? I’ve tried a few variations of what I think you mean, but nothing seems to help the timeline Reverse from End properly even though it will Play from Start just fine.

---

<div class="post-metadata">

**Author:** ![K3Z4](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/k3z4/32/491638_2.png) [@K3Z4](https://forums.unrealengine.com/u/K3Z4)\
**Post date:** [April 20, 2025, 10:28pm UTC](https://forums.unrealengine.com/t/timeline-reverse-from-end-can-have-wrong-direction-at-start/396921/8 "2025-04-20T22:28:38Z")

</div>

```auto
void YourClass::Init() 
{
   timeline.BindUFunction(this, callback) ; 
   // where callback = FName("<YourCallbackFunctionName>")
}

```

in your callback right at the start:

```auto
void YourClass::<YourCallbackFunctionName>
{
	if (!(timeline->IsPlaying())) {
		// very weird bug: you can get this callback when not yet playing...
		return;
	}
	
	// actual implementation of your callback
}

```
