My Player is drifting/stuttering when i turn around

Due to the framerate of the GIF you’ve sent, it’s hard to tell what exactly is going on. But to me, it seems like your sprinting animation’s leg placement at the start is different than the one at the end. Try cropping the extra part by editing your animation. Also, since you mentioned the issue occurs when turning, could you also double check that you don’t trigger the animation again once the character changes direction? And for mouse, the usual way would be simply using the “Orient Rotation to Movement” node and enabling it, and it wouldn’t cause any problem while turning using mouse.