summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-31 23:18:54 +0200
committerGitHub <noreply@github.com>2022-03-31 23:18:54 +0200
commit142a039f43cba550f9a2a2eadc7ded019d871eeb (patch)
tree3c312149d4ebc2f500613f1630c1176bb7842faa /doc/classes
parent1358efde1f5bf479049f797a74ca72b4849e0b2b (diff)
parentf049c7ed067c1621b562e23c102389b81999b1b4 (diff)
Merge pull request #59712 from Calinou/doc-canvasitem-top-level
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 1fe2f5a756..5205a1db3b 100644
--- a/doc/classes/CanvasItem.xml
+++ b/doc/classes/CanvasItem.xml
@@ -490,7 +490,7 @@
The texture repeating mode to use on this [CanvasItem].
</member>
<member name="top_level" type="bool" setter="set_as_top_level" getter="is_set_as_top_level" default="false">
- If [code]true[/code], the node will not inherit its transform from parent [CanvasItem]s.
+ If [code]true[/code], this [CanvasItem] will [i]not[/i] inherit its transform from parent [CanvasItem]s. Its draw order will also be changed to make it draw on top of other [CanvasItem]s that do not have [member top_level] set to [code]true[/code]. The [CanvasItem] will effectively act as if it was placed as a child of a bare [Node].
</member>
<member name="use_parent_material" type="bool" setter="set_use_parent_material" getter="get_use_parent_material" default="false">
If [code]true[/code], the parent [CanvasItem]'s [member material] property is used as this one's material.