The AnimationPlayed event fires when an
AnimationTrack begins playing on the
A common use for this function is to connect the
AnimationTrack/KeyframeReached event for the playing AnimationTrack, so additional effects can be added to the animation (for example
This event can be used for any
Humanoid regardless if it belongs to the local player’s client or not.
- For the
AnimationControllerequivalent of this event, please see
Pausing An Animation When a KeyFrame is Reached
The example below pauses any AnimationTrack playing on the humanoid when a keyframe named ‘PausePlayback’ is reached.