Basic Animation trigger

I am very new to unity and im trying a stabbing trigger with the right mouse click. All i need is some code to trigger the animation when i right click if any one could help that would be awesome. Thank you.

no longer need help