Adding a delay before script is run?

I have a button array, On mouse event the Timeline will advance to a scene label. On the new scene the button array is modified and redeployed.

What I want to add is for the Button array to play a predefined animation of some sort before the timeline is advanced to the next scene.

Can someone show me if it’s easily possible?