From 196c4fff13b534bde31d5406c2a4c2a82984a9fd Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 31 Mar 2022 02:05:56 +0200 Subject: [PATCH] Clarify what `set_as_toplevel()` does in CanvasItem --- doc/classes/CanvasItem.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml index 728e2142f6b..7e0d113afd3 100644 --- a/doc/classes/CanvasItem.xml +++ b/doc/classes/CanvasItem.xml @@ -377,7 +377,7 @@ - If [code]enable[/code] is [code]true[/code], the node won't inherit its transform from parent canvas items. + If [code]enable[/code] is [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 are not set as top-level. The [CanvasItem] will effectively act as if it was placed as a child of a bare [Node]. See also [method is_set_as_toplevel].