diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index b8682b8237f..5cd78e8a38e 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -2920,7 +2920,7 @@ void SceneTreeDock::_create() { int original_position = -1; if (only_one_top_node) { parent = top_node->get_parent(); - original_position = top_node->get_index(); + original_position = top_node->get_index(false); } else { parent = top_node->get_parent()->get_parent(); }