AnimationTrack:GetTimeOfKeyframe is unable to find any keyframes

Whenever I use AnimationTrack:GetTimeOfKeyframe, it always throws the error “Could not find a keyframe by that name!”

However, I have confirmed that the keyframe exists, as immediately before that line, I am able to use AnimationTrack:GetMarkerReachedSignal with the same keyframe, without any errors.

Also, I have confirmed that the animation is infact loaded, as the length is greater than 0.

I have determined that it wasn’t actually a bug - a “Keyframe Name” is infact different from a “Keyframe Marker”.

This should really be specified better in documentation, and there should really be a way to get the times of all the keyframe markers of a given name.

4 Likes

Reads like you may wont to consider raising a documentation request for more information about the naming issue and a feature request for a way to get the times of the keyframe markers.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.