Closed
Description
We need a practical example like this for the Ysort node in the docs. Without it, I would also assume Nodes would have the same behaviour OP assumes in his post. In fact I have struggled with this before and when I asked how to Ysort, people have recommended having all sorted nodes as children as of a tilemap. (which does not allow grouping either, so I did not understand the purpose of Ysort very well) So to avoid confusion and wrong advice, let's add this great example:
Node (main)
-> YSort (World)
-> Player
-> YSort (Environment)
-> Rock
-> Tree
-> YSort (Enemies)
-> Enemy1
-> Enemy2