How do I only alter the animation run speed?

So I’m scripting some animations, and I want to adjust the speed of the animation. In the DevHub API Reference, it says if I do “AnimationTrack:Play()” there’s 3 variables, but how do I make sure FadeTime and Weight is default so I can only adjust the speed?

Thanks in advanced!

AnimationTrack:AdjustSpeed(2) -- play the animation 2 times faster!

Hope this helps

1 Like

I mean, that’s fair. But I want to refrain from adding another line of code…

1 Like
fadeTime = 0.100000001 
weight = 1

these are the default values

2 Likes

What an easy solution, I can’t believe I didn’t think of this, thank you! <3

1 Like