My sprites are part of the same family. I'd like to organise them on the Z order so that the smallest sprites in size are at the top and the bigger at the bottom.
I guess a "for each" loop is involved but don't exactly know how to set it up
Develop games in your browser. Powerful, performant & highly capable.
You can try this:
For Each Family order by (Family.width*Family.height) .. Family Move to bottom
It works like a charm.
Thank you !!