How to play an animation?

i have my player in fps default player controler and copyed the scripts, everything works and the animations work for my player as i have a test one in the scene infrom of my player doing a runing animation and is just set to loop and do it forever.\

but how to i make my player do the walking animation when i press “w” or “s” or to jump and have his “jump” animation play? along with a “use” animation when i left click?

thanks in advance :slight_smile:

Truly, the best thing for you to do is to watch a tutorial like ahaykal suggested. Speaking of that, unity3d its self has a great tutorial on how to use Mecanim, the new animation system in unity: