Override animation with same priority

so in my game theres 2 animations with the same priority where one always needs to override the other. unfortunately, i cannot change the priority of said animations without messing up many more which i dont have the grit to reprioritize. this being said, is there any way to assure that one animation will always override another with the same priority? Ive tried weighting but it doesnt work.

1 Like

You’ll probably want to use AnimationTrack | Documentation - Roblox Creator Hub in a bit of a cheesy way. Assuming you want the animation to Play and fade into the animation a bit you can use the Play function and provide the weight parameter, which should be something higher than the weight of the animation you’re trying to play over. If you happen to need the new animation to override the other instantly you can always call the AdjustWeight function with a fadeTime of 0.

1 Like

ive tried using weight but it seems that if the other animation (the one that i want overrided) is fired afterwards, it overrides the first one.

1 Like