you can put an event that if the two buttons are pressed at the same time it has an action to disable the 8 directions and interpolate with a property first in x adding the current value with the necessary increment and assume the horizontal animation and then make the system wait and then move in y by this same interpolation only those in y, that is, horizontally