YSort

    Category: Core

    Sort all child nodes based on their Y positions. The child node must inherit from for it to be sorted. Nodes that have a higher Y position will be drawn later, so they will appear on top of nodes that have a lower Y position.

    Setterset_sort_enabled(value)
    Getteris_sort_enabled()

    If , child nodes are sorted, otherwise sorting is disabled. Default: true.