For one, you could use a global integer variable.
On clone>mousebuttondown
- Code: Select all
variable=cloneindex;
Then you could so something with that variable.
You can also make it an array, if you like (you can make any global variable an array in the variables window)
and clone>mousebuttondown
- Code: Select all
variable[n]=cloneindex;
//or
variable[cloneindex]=cloneindex;
Then you can refer to that variable later by using:
- Code: Select all
newvariable=variable[n];
//or
newvariable=variable[cloneindex];
It all depends on what you want to do with it.