How to get currently playing animations?

I bet there is no alternative method to :GetPlayingAnimationTracks(). It is still completely working and I am pretty sure it’s not actually deprecated, but only lacks documentation updates, since we shouldn’t be loading animations to humanoid anymore, but to animator instead, because stability is ensured that way.

One “hacky” way would involve loading a new blank animation, but that would be a waste of time and resources, since :GetPlaingAnimationTracks() fulfills that purpose and enables you to manage all playing tracks more efficiently.

EDIT
@Y35X I’m glad that I could help. I was confused too at first, because it was only said that humanoid:LoadAnimation() is deprecated and all the other related animation methods with it. There used to be an issue with loading/replicated Animator from the server, which is an object that manages animations further.

Here is the original announcement article: Deprecating LoadAnimation on Humanoid and AnimationController
And here is Animator API (:GetPlayingAnimationTracks() is one of it’s functions listed): Animator | Roblox Creator Documentation

-- Animator is direct child of humanoid.
animator:GetPlayingAnimationTracks()
11 Likes