I am creating an RPG in the style of the Mother Games and Undertale. I have created separate sprites for my overworld character. One going up, One going down, One going left and One going right. Each contains to images that create a sort of animation. I have programmed it so when you press the left button, it switches the sprite to the left facing one, changes the image speed to 0.2 and using drag and drop moves the player towards -8 y (relative). When you release left, the image_index goes back to 0 and the image speed goes to 0 too. I have used this same idea for all directions and it works well. However, when I try to walk in two directions at once, the player stops. I know this is to do with my programming, so has anyone got any suggestions about how I could program this?