Animator not transitioning despite meeting conditions

Hi. I’m making a 2D pixel game, and I’m having trouble with my animator controller.

I currently have it set to switch between Idle, Running, and Jump. The Jump animation works just fine, but Running is weird. I have it set to transition when moveX isn’t 0. And I set moveX in my player’s script, and I can see it changing during gameplay, but the animation stays where it’s at, Idle.

Any help?

You currently have it set up so moveX has to be greater than AND less than zero, which is why it won’t change, it can’t be both.

If you are doing things in code and you don’t want to smoothly transition between animations (basically just games with sprites), I generally recommend using animator.play() to run the animations, rather than using the entirely different system.