I know about the toFront() and toBack() functions but is there a better way to manage z positions of sprites? In other API’s I know you can give each sprite a z positions integer. Can you do something like that with Corona/Lua? What is the suggested method of maintaining layer hierarchy?
You can also use display groups to control layering (z-ordering) in Corona.
You can also use display groups to control layering (z-ordering) in Corona.