This is my animation blueprint:

My idle animation works just fine but instead of walking my character just slides, The animation works perfectly when simulating in the skeleton editor.
I think its an issue with the try get pawn owner function, everytime I run the level, the value output from try get pawn owner is none, also the velocity outputs 0 even though im moving my character.
Please help I’ve tried to fix it for so long.