# If no movement go to some frame... setInterval?

**URL:** <https://forum.kirupa.com/t/if-no-movement-go-to-some-frame-setinterval/237984>\
**Category:** Uncategorized\
**Created:** [September 6, 2007, 2:34am UTC](https://forum.kirupa.com/t/if-no-movement-go-to-some-frame-setinterval/237984 "2007-09-06T02:34:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Post date:** [September 6, 2007, 2:34am UTC](https://forum.kirupa.com/t/if-no-movement-go-to-some-frame-setinterval/237984/1 "2007-09-06T02:34:23Z")

</div>

Hello,

I have an animation that the user must interact with and if the user doesn’t interact with this then the animation will go to some frame.

Do I achieve this by using setInterval?

I bit lost… please advice… thank you. :book:
