How to animate characters?

Hi,

I'm creating my first video game but i don't know how to make my character make a animation when i click a button. dos any one know how to make this happen.

Thanks, in advanced.

Use tutorials.

Use object.animation.Play( "animationName" );