Study to show layering of sprites based on the y position of the top of the sprite. Program makes 5 clones and then does a process to measure the height of each costume. That is used to offset the y position stored in a list. Each clone determines how many clones are below it and sets its layer based on that number.
There is nothing in my code that lets sprites be added or deleted. Sprite costumes are from the Jan 23, 2006 Scratch beta release.