diff --git a/editor/docks/scene_tree_dock.cpp b/editor/docks/scene_tree_dock.cpp index 0abf21f834..6d55b5d54e 100644 --- a/editor/docks/scene_tree_dock.cpp +++ b/editor/docks/scene_tree_dock.cpp @@ -4414,6 +4414,9 @@ List SceneTreeDock::paste_nodes(bool p_paste_as_sibling) { ur->add_do_method(EditorNode::get_singleton(), "set_edited_scene", dup); } else { ur->add_do_method(paste_parent, "add_child", dup, true); + if (paste_sibling) { + ur->add_do_method(paste_parent, "move_child", dup, paste_sibling->get_index() + 1); + } } for (KeyValue &E2 : duplimap) {