Timeline in a function?

When I right click in the Blueprint Graph tab I get the option to create a timeline.

However, the Add Timeline option does not appear Blueprint Functions.

Is there a reason for this?

Thanks!

1 Like

Functions can only contain calls that finish instantly, and things like timelines and delays do not. If you need a function to execute a timeline, you can for example place a custom event (that triggers a timeline) in the main event graph, and then have your function raise such an event to start the timeline.

3 Likes

Just did that and it worked :smiley:

Thanks!