let's say i have an sprite with 8 animations, 4 when walks up, right, left and down and 4 for diagonals. my sprite has the 8 direction behavior and i am trying to make him play the animations that correspond to his movement like when he walks up the walikng up animation plays and etc.
i tried the following way, which wasn't successful because the animations couldn't be played correctly
so if anyone know a way to this please tell me :C