How can I use the ease block in my grid based movement

I want to make my grid-based movement smoother how do I do this

Make it so when you move it eases your characters size vertical or horizontal based on the direction.