Yes you can use lerp also.
lerp works kind of like this.
lerp(sprite.startposition, sprite.endposition, 0.1)
0.1 is 10% of the distance per tick.
You can also try a plugin called liteTween you can find it here on the forums. It can do similar a thing but with much more nice acceleration and smooth movement. Highly recommended, as lerp is only linear.
Thanks for responding tunepunk
The problem is:
It is a loop who moves the character, like this
so, if it is 1 - move the player right, if it's 2 - move the player left and the same for up and down
that's why I need to use a "wait" there, in the loop.
I used lerp, following what you said but the character barely moves.
I don't know what to do, even if it is possible into a loop