:GetPlayingAnimationTracks() is deprecated?

Hello, it seerms that AnimationController:GetPlayingAnimationTracks() has recently been deprecated. The issue with this is I don’t see a viable replacement for this?

I want to stop every animation being played on a Humanoid, but how can I do that without GetPlayingAnimationTracks??

Thank you for your help!

1 Like

Although I don’t work with animations too often, I believe this is because :GetPlayingAnimationTracks() is now meant to be called on the Animator object instead. While it’s not documented yet, it is listed as one of its methods.

Feel free to correct me if I’m wrong, though.

11 Likes
for i,v in pairs(character:GetDescendants()) do
if v:IsA("Animation") or v:IsA("AnimationController") then
if v.IsPlaying == true then
v:Stop()
end

end


end
3 Likes