Removing Clones

Is it possible to remove a singular clone when it hits an object? If so, how would you do it?

Hi @CheeseOctopus, welcome to the wick editor forums! :tada:

Yes, it is possible to remove a single clone when it hits an object.
You can do this by adding the following code into the update script inside the object that you plan to clone:

if(this.hits(object) && this.isClone){

Replace “object” with the name of the object that you’d like the clone to be removed after hitting.
Let me know if this doesn’t work

1 Like

Thank you so much! Works perfectly