# How to create Timeline in C++?

**URL:** <https://forums.unrealengine.com/t/how-to-create-timeline-in-c/542771>\
**Category:** C++\
**Tags:** UE4-20, unreal-engine, CPP, question\
**Created:** [April 28, 2022, 10:54pm UTC](https://forums.unrealengine.com/t/how-to-create-timeline-in-c/542771 "2022-04-28T22:54:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 28, 2022, 11:01pm UTC](https://forums.unrealengine.com/t/how-to-create-timeline-in-c/542771/2 "2022-04-28T23:01:05Z")

</div>

Hi Alexa.kl,

The forum post below has the information you need:

> [@How to create a Timeline in C++?](https://forums.unrealengine.com/t/how-to-create-a-timeline-in-c/296029):
>
> Hi, i’m trying to set up a timeline in c++. .h: FTimeline TimeLine; UFUNCTION() void EffectProgress(float Value); .cpp: Constructor: const ConstructorHelpers::FObjectFinder\<UCurveFloat\> Curve(TEXT("CurveFloat'/Game/OwnStuff/EffectCurve.EffectCurve'")); TimeLine = FTimeline{}; FOnTimelineFloat progressFunction{}; progressFunction.BindUFunction(this, "EffectProgress"); TimeLine.AddInterpFloat(Curve.Object, progressFunction, FName{TEXT("EFFECTFADE")}); BeginPlay: TimeLine.PlayFromSta…

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-create-timeline-in-c/542771)._
