Im trying to connect the final animation of my boss, i have done it all with animationplayer and animationTree with statemachine. The thing is the final animation can end whenever the player defeats it, so when i use the position property of the animatedsprite, it teleports it, it doesnt smoothly goes where i want.