# Help with setInterval!

**URL:** <https://forum.kirupa.com/t/help-with-setinterval/97462>\
**Category:** Uncategorized\
**Created:** [December 22, 2003, 7:55pm UTC](https://forum.kirupa.com/t/help-with-setinterval/97462 "2003-12-22T19:55:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inflicted](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@Inflicted](https://forum.kirupa.com/u/Inflicted)\
**Post date:** [December 22, 2003, 7:55pm UTC](https://forum.kirupa.com/t/help-with-setinterval/97462/1 "2003-12-22T19:55:52Z")

</div>

I got this MC I load. How could I put a setInterval function in front of it?

```auto
onClipEvent (load) {
    this._x = 100;
    this._y = 400;
}
onClipEvent (enterFrame) {
    if (this._y>300) {
        this._y -= 5;
    }
}

```

And what if I wanted to do this with several MC’s in the same movie?
