How I can smooth crossfade when an animation finish?

Hi, this the issue: I have a base animation (waiting standing up). and a bunch of other animations.
I trying to play an animation and when that animation finished return to the base animation. it works but not smooth. there are tiny stop before the animation return to the base animation (that is why the model rise his arms (is annoying) before play the base animation (waiting standing up) as you can see in the video

I know a posible solution is using settimeout but I wonder if there are other solutions. that not involve settimeout :roll_eyes:

Any help will be apreciate :slight_smile:

animar(nombre_animacion:string, repetitions:any)
{

this.vars.mixer.removeEventListener('finished', this.vars.mixfin);

this.vars.mixer.clipAction("base")._loopCount=0;
this.vars.mixer.clipAction(this.vars.nowplaying)._loopCount=0;

this.vars.mixer.clipAction(nombre_animacion).repetitions=repetitions;
this.vars.mixer.clipAction(nombre_animacion).reset();
this.vars.mixer.clipAction(nombre_animacion).enabled=true;
this.vars.mixer.clipAction(nombre_animacion).weight=1;

this.vars.mixer.clipAction(this.vars.nowplaying).crossFadeTo(this.vars.mixer.clipAction(nombre_animacion),0.3).play();
this.vars.nowplaying=nombre_animacion;


  this.vars.mixer.addEventListener( 'finished', this.vars.mixfin = (e)=> { 


    this.vars.mixer.clipAction("base").enabled=true;
    this.vars.mixer.clipAction("base").fadeIn(0.3);
    this.vars.nowplaying="base";


this.vars.mixer.removeEventListener('finished', this.vars.mixfin);

} );