• Editor
  • Can you change BONE draw order?

I get that you want image draw order to be separate and animatable, but is there a way to change the bone draw order in the Editor? It confuses my brain when the bones that are "behind" end up "in front" of other bones. I thought maybe it was alphabetical but it seems not to be...

Related Discussions
...

The bone order right now is only determined by the order in which you create the bones and it can't be changed, unfortunately.

Maybe changing bone color or alpha will help you get the visuals straight 😉.

booboogaga :

Maybe changing bone color or alpha will help you get the visuals straight 😉.

Yeah, I already have them colored. Might not matter since I might use IK rather than the actual joints to animate. Next time I'll just remember to draw the bones for the rear legs first

Bones are sorted only by hierarchy, otherwise they use the creation order. When they are exported they are sorted by hierarchy, then by alpha. It's true using creation order isn't great, since it's hard/impossible to change, but if sorted by alpha in the editor you couldn't specify your own order. Maybe we could have a dialog that shows the bones in a list and allows them to be ordered. The button for this could be on the skeleton tree properties. I've added an issue:
https://waffle.io/EsotericSoftware/spine/cards/5b0f24c13f3838001ea37aa0

Nate :

Bones are sorted only by hierarchy, otherwise they use the creation order. When they are exported they are sorted by hierarchy, then by alpha. It's true using creation order isn't great, since it's hard/impossible to change, but if sorted by alpha in the editor you couldn't specify your own order. Maybe we could have a dialog that shows the bones in a list and allows them to be ordered. The button for this could be on the skeleton tree properties. I've added an issue:
https://waffle.io/EsotericSoftware/spine/cards/5b0f24c13f3838001ea37aa0

Thanks. Obviously not a blocking issue but would be nice to have.