Need help learning animation syntax

I’ve been using studio for a while, now it’s time for me to learn animations. The only problem I have however, is I cannot figure out how to stop an animation that is currently playing.

Humanoid.Animator:Stop() does not exist,
I cannot find the syntax anywhere that I need to stop a playing animation. I’ve been looking for like an hour, so this is my last resort.

1 Like

Literally just stumbled across this solution, though if anyone has anything better please share.

for i,v in pairs(plr.Character.Humanoid.Animator:GetPlayingAnimationTracks()) do
	if v.Name == "{Animation Name}" then
		v:Stop()
	end
end

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