How can I get the timestamp of an keyframe marker

So I know you can get the timestamp of a keyframe using the AnimationTrack:GetTimeOfKeyframe(keyframeName) but I am wondering how can I do this for keyframe markers/ animation events?

You can’t do this for keyframe markers since the only API exposed on AnimationTracks for markers is the reached signals.

2 Likes

Ah is there a getaround though, because a lot of the moves I am scripting end up having to do a delay function for a certain amount of time and it gets tedious at times

No, there’s no workaround. You’d have to settle for a manual solution either way, whether you hardcode the timing in or pass the time using animation event values.

1 Like

Rip alr but thank you for your time and response