diff --git a/tutorials/best_practices/godot_interfaces.rst b/tutorials/best_practices/godot_interfaces.rst index c2a7e0782..a4d453701 100644 --- a/tutorials/best_practices/godot_interfaces.rst +++ b/tutorials/best_practices/godot_interfaces.rst @@ -58,7 +58,7 @@ access. @export var script_type: Script # Must configure from the editor, defaults to null. - export var const_script: Script: + @export var const_script: Script: set(value): if Engine.is_editor_hint(): const_script = value