So I am trying to make a simple movement system with the WASD keys. The cardinal directions work fine, and the sprites flow perfectly, but when it comes to diagonal movement, the sprite is stuck at the first frame.
Gif of issue: i.imgur.com/snLanjr.gifv
Setup: i.imgur.com/1Jp49Om.png
i.imgur.com/LVYGN1N.png
I am using 8-directional movement.