diff --git a/tutorials/scripting/gdscript/gdscript_exports.rst b/tutorials/scripting/gdscript/gdscript_exports.rst index a2ac8ec4a43..9dadb1c9b1d 100644 --- a/tutorials/scripting/gdscript/gdscript_exports.rst +++ b/tutorials/scripting/gdscript/gdscript_exports.rst @@ -258,6 +258,13 @@ without having to use NodePaths: # Custom classes declared with `class_name` can also be used. @export var some_button: BaseButton +.. note:: + + Node export is only supported in Node-derived classes. When a Node is + saved to a PackedScene, using ``Node`` or ``Array[Node]`` will store a + reference to a Node in the scene, but using ``Array`` or `Dictionary` + to store Nodes will cause a copy of each Node to be created. + Exporting NodePaths like in Godot 3.x is still possible, in case you need it: ::