From 2bdd7e9ea0383c06fe6a83445469e41222477abc Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Mon, 17 Feb 2020 18:29:14 +0100 Subject: Add methods for node reparenting --- doc/classes/Node.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index d38a724d39..553a852585 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -604,6 +604,15 @@ Removes a node from a group. See notes in the description, and the group methods in [SceneTree]. + + + + + + Changes the parent of this [Node] to the [param new_parent]. The node needs to already have a parent. + If [param keep_global_transform] is [code]true[/code], the node's global transform will be preserved if supported. [Node2D], [Node3D] and [Control] support this argument (but [Control] keeps only position). + + -- cgit v1.2.3