Skip to content

ToxicCrack/godot_ysort_groups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Godot Engine YSort grouping

With the snippet in the example.gd, you can organize your nodes in subnodes under an YSort. What this code do is the following:

  • It searches for nodes within the group "ysort_group"
  • get the children of that node an add it to the parent ysort node
  • delete the "ysort_group" node

It even works with instanced scenes! So basically the container node is a editor-only node.

This is how the nodetree would look like:

  • YSort
    • NodeX
    • NodeY
    • Container (Group: ysort_group, Node2D or whatever)
      • OrganizedNode1
      • OrganizedNode2
      • OrganizedNode3

About

Godot Engine YSort logical groups

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors