I want my character to move 50 pixels towards left and right on left/right key press.
Right now I have
On Right Arrow pressed: move 50 pixels at angle 0
However, that causes the sprite to instantly move 50 pixels as if it teleported.
How can I gradually move the character towards right and stop it after 50 pixels?
I am doing this instead of using 8 directions behaviour because I want it to moved at a set distance everytime left/right key is pressed.