# Duplicating instances at certain amount apart

**URL:** <https://forum.kirupa.com/t/duplicating-instances-at-certain-amount-apart/274046>\
**Category:** flash\
**Created:** [October 24, 2008, 4:13am UTC](https://forum.kirupa.com/t/duplicating-instances-at-certain-amount-apart/274046 "2008-10-24T04:13:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCampos021](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@JCampos021](https://forum.kirupa.com/u/JCampos021)\
**Post date:** [October 24, 2008, 4:13am UTC](https://forum.kirupa.com/t/duplicating-instances-at-certain-amount-apart/274046/1 "2008-10-24T04:13:56Z")

</div>

Hello, im still learning some of this actionscript stuff and was stuck on somthing.

Right now i have a movie clip i named game. I want this to be duplicated up to 15 times, but i want there to be 5px between the two of them on the \_y axis.

to do the duplication i used  
for (i=0; i\<15; i++) {  
\_root.game.duplicateMovieClip(“game”+i,i);  
}

but im not really sure how to get the instances where i want them to go from here…
