# How to control moving objects using \_x property

**URL:** <https://forum.kirupa.com/t/how-to-control-moving-objects-using--x-property/280851>\
**Category:** Uncategorized\
**Created:** [February 2, 2009, 7:17am UTC](https://forum.kirupa.com/t/how-to-control-moving-objects-using--x-property/280851 "2009-02-02T07:17:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandipj](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sandipj](https://forum.kirupa.com/u/sandipj)\
**Post date:** [February 2, 2009, 7:17am UTC](https://forum.kirupa.com/t/how-to-control-moving-objects-using--x-property/280851/1 "2009-02-02T07:17:14Z")

</div>

i have created movieclip it will animated by following code  
speed=1;  
this.\_x -= speed;

when its came to x = 67 it will stop for few seconds then it will scroll randomly.

is it possible???

I’d greatly apreciate any help.
