# Timing and animation

**URL:** <https://forum.kirupa.com/t/timing-and-animation/256666>\
**Category:** Uncategorized\
**Created:** [April 5, 2008, 1:41pm UTC](https://forum.kirupa.com/t/timing-and-animation/256666 "2008-04-05T13:41:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Post date:** [April 5, 2008, 1:41pm UTC](https://forum.kirupa.com/t/timing-and-animation/256666/1 "2008-04-05T13:41:11Z")

</div>

Hi,

I have 7 animations I want to trigger. They should be x seconds apart, is there a better way than to setup 7 timers and 7 eventlisteners. The animateButton method takes a start and end x postion. I have 7 of these (see below) but I want to stagger them so they don’t all trigger at once.

about\_but.animateButton (0, 0);  
contact\_but.animateButton (20, 127);  
equipment\_but.animateButton (80, 254);  
//etc etc.
