If button is pressed

Hello all!

I’m doing an interactive banner with timer, where if a certain button IS NOT pressed, the animation moves on after a period of time, and if the button IS pressed, timer doesn’t count time and the animation doesn’t progress.

My doubt is, how do I do it?

Many thanks in advance!