When I export this to Aseprite I would like the layers to export this model as two layers (one for the clothing, one for the skeleton), respecting any occlusion happing (in this case, the robe covering the skeleton).
You can see that even if the Z-Index is the same, the layers sit on top of one another and when I try to export them, no occluding is happening. Making a clipping mask does not work because clipping works on a per-layer basis and so you can't use clipping in the way I want to.