How do i play an animation on a button press : <p>Im making my first game but I am stuck. I am making the main menu. I want to make it that when I press the start game button an animation plays and it starts that game. I have no idea where to start. The button to start the game works and I have created the animation and that works but I don't know how to combine then.</p>

<p>I have tried to make the button play the animation play with 'animation.play' but that does not work.</p>

<p>Thanks in Advance.</p>
