# Side Scrolling + wait command

**URL:** <https://forum.kirupa.com/t/side-scrolling-wait-command/54651>\
**Category:** Uncategorized\
**Created:** [June 16, 2004, 2:11pm UTC](https://forum.kirupa.com/t/side-scrolling-wait-command/54651 "2004-06-16T14:11:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![musashi9](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@musashi9](https://forum.kirupa.com/u/musashi9)\
**Post date:** [June 16, 2004, 2:11pm UTC](https://forum.kirupa.com/t/side-scrolling-wait-command/54651/1 "2004-06-16T14:11:38Z")

</div>

Does flash have a wait command?  
i have this code here

```auto
 targ._x = targ._x - 2.500000;
if (targ._x <= -350)
{
targ._x = 344;
} // end if
   
}

```

it scrolls targ from right to left and when targ gets to -350 it restarts by putting targ clip back at 344 (start point)

my Q is does flash have a wait command? because i want to stop the side scrolling when the targ gets to -100 then wait a few seconds the nrestart scrolling
