# Probably a stupid question... (Timer/setInterval related)

**URL:** <https://forum.kirupa.com/t/probably-a-stupid-question-timer-setinterval-related/288958>\
**Category:** Uncategorized\
**Created:** [May 24, 2009, 1:23am UTC](https://forum.kirupa.com/t/probably-a-stupid-question-timer-setinterval-related/288958 "2009-05-24T01:23:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![allstarfung](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@allstarfung](https://forum.kirupa.com/u/allstarfung)\
**Post date:** [May 24, 2009, 1:23am UTC](https://forum.kirupa.com/t/probably-a-stupid-question-timer-setinterval-related/288958/1 "2009-05-24T01:23:02Z")

</div>

Hello everyone,

I am working on editing this old file from pixelfumes/mudd i believe that has the card flip effect. I basically need the function to occur every 20 seconds (flipping from front to back - back to front). Ive been messing around with different things like setInterval and Timer functions but nothing seems to work. Here is a link to the original files: [http://blog.pixelfumes.com/?p=117](http://blog.pixelfumes.com/?p=117) the effect is perfect for what i need, i just cant get the function right.

Thanks for everyones time and help.
