Clone code help

#1

I made a code where it creates clones and the clones are supposed to move randomly, but only the original moves. How can I fix this?

8 Likes
#2

Put the code for having the objects and clones move under a “when object is cloned”

Not sure if that’s exactly what you meant, but I hope it helps.
A project link or code screenshots would be nice if youd like more indepth help

4 Likes
#3

Think Fea got it right. Clones need a separate rule than the original object

3 Likes
#4

Oh that makes more sense let me test it

2 Likes
#5

It’s still only the original moving :confused:

2 Likes
#6

Can you post a link so I could take a look at it?

2 Likes
#7

Yeahup.
Link would be nice

1 Like
#8

That’s all of it rn but okay
I’ll find out out how to get the link

2 Likes
#9

Publish it and hit the button next to the like button

Enter a random year (I use 1999) and hit copy

Then paste it here

2 Likes
#10

Did it

2 Likes
#11

You still have When Game Starts

Not when Object is cloned

2 Likes
#12

Is this it
https://c.gethopscotch.com/p/107fb1810e

#13

Kinda but I think I figured it out with your help thank you.

1 Like
#14

No problem

1 Like
#15

@ValueGamesStudio a lot of projects use "Self Clone Index “=”, “<”, or “>” which produces slightly faster results

3 Likes