Linking Animation to a button

How do i link an animation to a button. What i want is: when someone presses this button the animation starts, then at the end to the animation someone presses another button to make the animation go in reverse. Thank you in advance.