Animation Not Moving out of grid like animation editor

When I play the animation in animation editor the character moves out of the grid like I want it to
But when I play it in-game it appears like this instead
not moving

Because it is an animation and not movement, make it move a different way