How to change an animators animation in a script?

Hey there,

I’ve been trying to figure out how to change the animation/motion of a state in my animator controller via a script? is this even possible? 37040-animationquestion.png

Any input is greatly appreciated

Why do you want to change the motion of a state? You should create a new state in the Animator Controller and then change the state with CrossFade (or use conditional transitions by using SetInt on a transition variable for example)