If you, for example, had a project that clones and object with the tap of a button. It will not only clone the original object, but it will also clone its cloned object as well. This would lead to 3 clones instead of 2, then it would lead to 7 clones, 15 clones, etc. If you simply place a check once if (self(clone index))=(1), it will only clone the original object. There is a project that explains it very well, though I cannot find it. I also used clone index to alter certain objects in an old project I made, but I stopped working on it. Iām still making projects, though.
Clone Index is probably what I have found most helpful in HS through all my years, literally the best function, and this tutorial just makes even more people know about this. Simply Amazing!
Here is another method too ā method 4 with recursion from ThinBuffalo, but with a slight change to make it faster. It puts the recursive ability inside the Else part of Check if else (technique thanks to Petrichor.)