animating with scripts vs animating with animator

Hello everyone,

What is everybodys thoughts for animating with scripts vs with the animator?

This is my first project that i’m using to learn on so its just a super simple 2d platformer. I’ve been doing animations with animator but i’m having a minor issue where sometimes an action is activating the wrong animation if i spam the keys. Low jump is space bar and animations is activated via bool isGrounded. High jump is hold W then spacebar and animation is activated via a trigger. But when i spam W+spacebar sometimes the animation for low jump plays.

I tried a quick fix just now to also have low jump activated via its own trigger and just not use a bool isGrounded. But then i just thought about calling up the animation directly from script.

IF w+space
play high jump anim
other stuff
ELSE IF space
play low jump anim
other stuff

Like that basically…about the only new problem i have to solve with this is detecting when the character is going downwards so that a fall animation plays instead.