# If button is pressed

**URL:** <https://forum.kirupa.com/t/if-button-is-pressed/231554>\
**Category:** Uncategorized\
**Created:** [July 5, 2007, 6:11pm UTC](https://forum.kirupa.com/t/if-button-is-pressed/231554 "2007-07-05T18:11:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dududis](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@dududis](https://forum.kirupa.com/u/dududis)\
**Post date:** [July 5, 2007, 6:11pm UTC](https://forum.kirupa.com/t/if-button-is-pressed/231554/1 "2007-07-05T18:11:50Z")

</div>

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!
