How to get TimelineComponent direction?

Hello,
Add this variable into your .h file:

UPROPERTY()
TEnumAsByte<ETimelineDirection::Type> MyTimelineDirection;

Then use this function on your timeline you just need call this once, for example after binding the timeline or finished callbacks:

MyTimeline->SetDirectionPropertyName(FName(TEXT("MyTimelineDirection")));
1 Like