For thread safety, this property is not safe to read in an unsynchronized thread.
This function returns an array containing all
KeyframeMarker|KeyframeMarkers that have been added to the
Keyframe. Note, this function will only return
Instance|instances of type KeyframeMarker.
More about Keyframes
Keyframe names do not need to be unique. For example, if an Animation has three keyframes named “Particles” the connected event returned by
AnimationTrack/GetMarkerReachedSignal will fire each time one of these keyframes is reached.
Keyframe names can be set in the Roblox Animation Editor when creating or editing an animation. They cannot however be set by a
Script on an existing animation prior to playing it.
An array containing all
Get Keyframe Markers Attached to a Keyframe
This example demonstrates the
Keyframe/GetMarkers functions. After adding two markers, marker1 and marker2 to the keyframe, this example gets and prints the names of the added markers.