Skip to content

Document Z sorting in 2D #4116

Open
Open
@NathanLovato

Description

Write a page in 2D about Z sorting.

It should explain the default Z order of sprites, properties like showing behind the parent, relative Z values, but also automatic sorting on the Y position. It should probably mention CanvasLayer and maybe link to the viewport documentation, which reset or separate the Z sorting.

Note that Ysort may be removed for Godot 4.0 and replaced by a property on Node2D. See godotengine/godot#42282 for more information.

Metadata

Assignees

No one assigned

    Labels

    area:manualIssues and PRs related to the Manual/Tutorials section of the documentationcontent:new pageIssues and PRs related to creation of new documentation pages for new or undocumented features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions