summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-20 23:59:17 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-20 23:59:17 +0100
commitdc2d1e3f479fb64e6da23c00d38ed030a085fb6c (patch)
treecd1f40707b58ef9a6c1c27609c3964eafb4ff12b /doc/classes
parent1aab6e96b96af734d1fe5979d30d1a4232cb270d (diff)
parentb7e5ea8a398b9b30e5e5c0a984559c9e0e3df491 (diff)
downloadredot-engine-dc2d1e3f479fb64e6da23c00d38ed030a085fb6c.tar.gz
Merge pull request #79452 from /ysort-update-first-item-position
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/CanvasItem.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml
index 0113131f25..7604e4b75c 100644
--- a/doc/classes/CanvasItem.xml
+++ b/doc/classes/CanvasItem.xml
@@ -606,7 +606,7 @@
[b]Note:[/b] For controls that inherit [Popup], the correct way to make them visible is to call one of the multiple [code]popup*()[/code] functions instead.
</member>
<member name="y_sort_enabled" type="bool" setter="set_y_sort_enabled" getter="is_y_sort_enabled" default="false">
- If [code]true[/code], child nodes with the lowest Y position are drawn before those with a higher Y position. If [code]false[/code], Y-sorting is disabled. Y-sorting only affects children that inherit from [CanvasItem].
+ If [code]true[/code], this [CanvasItem] and its [CanvasItem] child nodes are sorted according to the Y position. Nodes with a lower Y position are drawn before those with a higher Y position. If [code]false[/code], Y-sorting is disabled.
You can nest nodes with Y-sorting. Child Y-sorted nodes are sorted in the same space as the parent Y-sort. This feature allows you to organize a scene better or divide it into multiple ones without changing your scene tree.
</member>
<member name="z_as_relative" type="bool" setter="set_z_as_relative" getter="is_z_relative" default="true">