You cant just do it with one rule like you think. You have to make seperate animations for left and right if you want it animated, or just images if you dont. Then you can either have when the left button is presssed change image to left and same for right, or you can have it so when motion x>0 animate right and when motion x<0 animate left, or change image right or left. If you want it to animate or change based on what way its moving, no matter if a button is pressed then use the second option.
Comments