summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-20 09:00:34 +0200
committerGitHub <noreply@github.com>2021-05-20 09:00:34 +0200
commitba7448f84e5d9b2e7179c6061b58ee0b63297a36 (patch)
treef4f0c323f13da8c237ce6057a70f16e2aeb008d7 /doc
parent1450a72bfa25ae7920adb276271105966113545d (diff)
parent99173fb0d7f7e6a9cd47b6935d818fb16abe8835 (diff)
Merge pull request #48867 from kleonc/node2d-z_index-docs-master
Document valid range of Node2D.z_index
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Node2D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Node2D.xml b/doc/classes/Node2D.xml
index eed0ec8d7e..988fb72267 100644
--- a/doc/classes/Node2D.xml
+++ b/doc/classes/Node2D.xml
@@ -154,7 +154,7 @@
If [code]true[/code], the node's Z index is relative to its parent's Z index. If this node's Z index is 2 and its parent's effective Z index is 3, then this node's effective Z index will be 2 + 3 = 5.
</member>
<member name="z_index" type="int" setter="set_z_index" getter="get_z_index" default="0">
- Z index. Controls the order in which the nodes render. A node with a higher Z index will display in front of others.
+ Z index. Controls the order in which the nodes render. A node with a higher Z index will display in front of others. Must be between [constant RenderingServer.CANVAS_ITEM_Z_MIN] and [constant RenderingServer.CANVAS_ITEM_Z_MAX] (inclusive).
</member>
</members>
<constants>