This can't modify your animation file forever. If You dont call animation player and only call AnimationTree methods it should work normally. If it still doesnt work make sure You set up AnimationTree blending nodes correctly. Mixing animations is what it does by default, You need to clearly separate animation state for it to work, check it out in tutorials