How to close up charactor ? And move charactor to charactor 2D ?

I want to make a turn based game. But I wonder how to move character for attack another character. It’s 2D Game. I find the tutorial on youtube but I didn’t find.

Example :

Can you give example to me?