# \[BUG\] Timeline not executing when inside Blueprint function

**URL:** <https://forums.unrealengine.com/t/bug-timeline-not-executing-when-inside-blueprint-function/275072>\
**Category:** Blueprint\
**Tags:** timelines, unreal-engine, bug-report, Blueprint, question\
**Created:** [March 11, 2014, 1:51am UTC](https://forums.unrealengine.com/t/bug-timeline-not-executing-when-inside-blueprint-function/275072 "2014-03-11T01:51:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 1:51am UTC](https://forums.unrealengine.com/t/bug-timeline-not-executing-when-inside-blueprint-function/275072/1 "2014-03-11T01:51:45Z")

</div>

I noticed some weird behavior when I was setting up a timeline in a blueprint yesterday. I created a timeline inside of a blueprint function and whenever it would get reached at run time it would not actually execute, nodes linked to both update and finished pin were never executed and system would just hang for a while before moving on.

In order to bypass this problem I moved exact same logic outside of blueprint function into event graph. Using this approach timeline and its logic executed perfectly. I am unsure if this is expected behavior or not, I could not find any indication in documentation.

If it is a bug, I have created a project that I can upload which consistently reproduces behavior (although I am unsure of best way to link it).

---

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 1:51am UTC](https://forums.unrealengine.com/t/bug-timeline-not-executing-when-inside-blueprint-function/275072/2 "2014-03-11T01:51:46Z")

</div>

Hello,

Thanks for question! Timelines are considered latent functions and cannot be used inside of other functions. They can, however, be used inside of Macros and should work as expected. Feel free to try using a Macro instead and let us know your results.

Thanks!

-

---

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 1:51am UTC](https://forums.unrealengine.com/t/bug-timeline-not-executing-when-inside-blueprint-function/275072/3 "2014-03-11T01:51:47Z")

</div>

I was able to get a timeline working in a macro. Thanks for your answer!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1bd2267d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1bd2267d](https://forums.unrealengine.com/u/anonymous_user_1bd2267d)\
**Post date:** [May 21, 2014, 4:48pm UTC](https://forums.unrealengine.com/t/bug-timeline-not-executing-when-inside-blueprint-function/275072/4 "2014-05-21T16:48:23Z")

</div>

I’m unable to get a Timeline working inside a Macro. Does this functionality still exist?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_759e5c3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_759e5c3a](https://forums.unrealengine.com/u/anonymous_user_759e5c3a)\
**Post date:** [May 21, 2014, 5:47pm UTC](https://forums.unrealengine.com/t/bug-timeline-not-executing-when-inside-blueprint-function/275072/5 "2014-05-21T17:47:22Z")

</div>

Hello,

This is an old feature that has since been removed, at this point both Macros and Functions do not allow latent functions like timelines. Timelines will currently work in collapsed graph nodes though. I hope this helps.

-

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c0687f281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Post date:** [January 6, 2015, 4:35pm UTC](https://forums.unrealengine.com/t/bug-timeline-not-executing-when-inside-blueprint-function/275072/6 "2015-01-06T16:35:42Z")

</div>

Seems not possible in UE 4.6.1 anymore. ☹

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [January 6, 2015, 6:03pm UTC](https://forums.unrealengine.com/t/bug-timeline-not-executing-when-inside-blueprint-function/275072/7 "2015-01-06T18:03:31Z")

</div>

Hi ,

See accepted answer above. If you still have questions, please open a new post, as this is an archived post from our beta users and contains outdated information. Thanks!
