TimelineAsset get current frame

Hi, I’m trying to get the current frame from a timelineAsset, does anyone know how to get this data from a c# script?198827-screenshot-146.png

Now we have to create a Timeline Asset and to do so, firstly Create. this allows a gameObject to be active for a certain period of time.
liteblue

I think you can fin your answer in the Timeline Documentation:

GetCurrentFrame(TimelinePlaybackControls.Context)
Retrieves the location of the timeline
playhead in frames.

Hope this helps :slight_smile: