summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkleonc <9283098+kleonc@users.noreply.github.com>2021-05-20 00:47:05 +0200
committerkleonc <9283098+kleonc@users.noreply.github.com>2021-05-20 01:22:13 +0200
commit99173fb0d7f7e6a9cd47b6935d818fb16abe8835 (patch)
treef4f0c323f13da8c237ce6057a70f16e2aeb008d7
parent1450a72bfa25ae7920adb276271105966113545d (diff)
Document valid range of Node2D.z_index
-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>