Problem with animations using AnimationPlayer/AnimationTree

Godot Version

v4.2.2.stable.official

Question

Hi!
I’ve started learningn godot thanks to the new Brackeys video and I’m having some visual problemas with the animations. I’ve made the animations with an animatioPlayer and an animationTree and not with an animatedSprite2D, and when i move the character, sometime the animations start to play faster or skip frames.

I attach a video so you can see what I mean.

Thanks a lot!

[https://www.youtube.com/watch?v=ZMQoh1vdsO4]