Animation help

I’m having issue with importing animations. I import my file and then setup my animation for idle, ect. My problem is when I drag it into my scene and setup a script for playing the animation when I press a key, it can’t find the animation I named in my main file. I’ve been trying a ton of stuff and can’t figure out why it wouldn’t be working.

hi, could you post your script here?

take in mind, that if you have the script attached to your player, you must to call an animation by animation.CrossFade(“animationName”);

it’s on a object. All I used was an onkeydown code and the code format you just posted