how would i create a button that animates the main camera when clicked?

basically i want to create a button from a mesh that triggers an animation of the main camera when it is clicked… any solutions or the best approach, i’m really new to this… any help would be greatly appreciated. thank you.