How to make clones be created separated from each other

So what I’m trying to say is that I want to know how to spawn clones of an object but if one is spawned at like x=10 it checks if one is created and then it spawns it further at like x=20 and if another one gets created it will spawn at like x=30. This is while the other clones are still spawned.

Just click copy then without de selecting the perent object click paste it will automatically spawn saprated from perent object. Then you can click on the clone and then go to object string and add whatever value you want for x and y

I would use if (opacity) if you want it to be functional right when it shows up and press a button to change opacity try that and tell me if it works!

Sorry this is not what I mean because I’m talking about clones created with code but thanks for your reply

1 Like

Okay I hope you get your ans.

var xClonePosition=0; //x position your clones will be assigned
for(i=0;i<5;i++){ // i create 5 clones. you can make as many you want
newClone=baseClip.clone();
newClone.x=xClonePosition;
xClonePosition+=100; //every time a clone is made i increment x by 100. you can also use a random number if you prefere
}

2 Likes