This script create 4 clones, one by one, and deletes each of them, again, one by one. It then regenerates the clones and allows you to delete them by pressing a number key. Each clone is stamped with a unique ID number when created, a technique you can use to boss around clones in almost any project. NOTES: - your clone ID must be a local "for this sprite only" variable - The clones are programmed to kill themselves when an index variable (i) matches their clone ID.
This tutorial will be featured in our Apr 16, 2022 broadcast on YouTube