Notifications
Clear all

[Closed] Layer order

It seems layers are ordered in the order they are created. Is there any way to change their order?

Say I have the default layer and then make

0 (default)
Layer A
Layer C
Layer B

In that case, LayerManager.getLayer 2 will give me Layer C. But I am writing a script that loops through the layers, and any artist might need to re-order them. Is there any way to make Layer C into #3? An alphabetical sort maybe? Or just reassignment would be fine and I could write my own sort.