# 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:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexa.Ki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alexa.ki/32/562753_2.png) [@Alexa.Ki](https://forums.unrealengine.com/u/Alexa.Ki)\
**Post date:** [April 28, 2022, 10:54pm UTC](https://forums.unrealengine.com/t/how-to-create-timeline-in-c/542771/1 "2022-04-28T22:54:32Z")

</div>

I want to create this timeline in C++ with same functionality, I searched google and not found the solution.  
I can create it in blueprint, but I want to learn it in C++ also. Thank You  
Visual Example:

 ![image_2022-04-29_035123625](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/c/51c2bda90b8b2678cf66db3f4a1bd64bb9f30e3a.png)

---

<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…

---

<div class="post-metadata">

**Author:** ![Alexa.Ki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alexa.ki/32/562753_2.png) [@Alexa.Ki](https://forums.unrealengine.com/u/Alexa.Ki)\
**Post date:** [April 28, 2022, 11:07pm UTC](https://forums.unrealengine.com/t/how-to-create-timeline-in-c/542771/3 "2022-04-28T23:07:28Z")

</div>

Thank You very much for help , I checked the post and understand a little bit, I am new to C++ , I will try my very best to implement it. Thank You very much )

---

<div class="post-metadata">

**Author:** ![Alexa.Ki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alexa.ki/32/562753_2.png) [@Alexa.Ki](https://forums.unrealengine.com/u/Alexa.Ki)\
**Post date:** [April 29, 2022, 10:37pm UTC](https://forums.unrealengine.com/t/how-to-create-timeline-in-c/542771/5 "2022-04-29T22:37:59Z")

</div>

Thank You, I am using UEv4.20 and for me some of the lines are not working , but I will figure it out, the main thing I got a nice idea
