Character movement problem

Give me the solution that you’ve done