# Duplicate movieclip 30pixels away from each other

**URL:** <https://forum.kirupa.com/t/duplicate-movieclip-30pixels-away-from-each-other/153749>\
**Category:** flash\
**Created:** [July 4, 2005, 12:28pm UTC](https://forum.kirupa.com/t/duplicate-movieclip-30pixels-away-from-each-other/153749 "2005-07-04T12:28:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaming\_monkey](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gaming_monkey/32/772_2.png) [@gaming\_monkey](https://forum.kirupa.com/u/gaming_monkey)\
**Post date:** [July 4, 2005, 12:28pm UTC](https://forum.kirupa.com/t/duplicate-movieclip-30pixels-away-from-each-other/153749/1 "2005-07-04T12:28:16Z")

</div>

Hi, I’m using this code to duplicate a movieclip:

```auto
  for (i=0;i<10;i++) { 
	  _root.lane.duplicateMovieClip("lane"+i, i); 
   
   
   i++
} 

```

Now, I want each duplicate to have their \_x position 30 pixels away from each other.

Basically, they would all be in a row, I’m sure it’s simple so how can I put them all in a row?

I hope I explained well enough, thanks for any help.
