# Play frames in loop with code

**URL:** <https://forum.kirupa.com/t/play-frames-in-loop-with-code/193287>\
**Category:** Uncategorized\
**Created:** [July 10, 2006, 2:37pm UTC](https://forum.kirupa.com/t/play-frames-in-loop-with-code/193287 "2006-07-10T14:37:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimebagplan](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@Dimebagplan](https://forum.kirupa.com/u/Dimebagplan)\
**Post date:** [July 10, 2006, 2:37pm UTC](https://forum.kirupa.com/t/play-frames-in-loop-with-code/193287/1 "2006-07-10T14:37:18Z")

</div>

Hello all.  
In my project i need a code wich allow me to play an animation (not a motion tween)  
it is a self hand made animation frames by frames.  
my animation start from frame 10 and finish in frame 15.  
I just need to play it from 10 to 15 in Loop when my mouse is over.  
and stop animation loop when my mouse is out.  
i hope i am clear in my description.

thx a lot bye !
