2D TopDown: idle always faces right when stop moving

Oops, I made an error in my explanation. I said:
"In any case, which ever is the last key to be pressed will set the enum to that enums direction. "

And I said it a few times, but its actually what ever key is released last sets the enum last. Since the axis value will have a value as long as the keys is being pressed.

So… Pressing up, up value goes to 1, now press left, left value goes to -1. They both have value so both would be true and setting the enum to their direction. In the sequence the farther down you go the higher priority. Since UP and Down are at the top, #0 and #1, then RIGHT and LEFT would take priority since they are #2 and #3. But which ever one has value last is the last one to set the direction enum.

Ok, Im tired and confused. But I think I got it right. hehe.

Good Luck!

~