Skip to content

Commit ff29de0

Browse files
authored
Merge pull request #9980 from HolonProduction/editable-clearup
Clearify behaviour of `@export` in combination with setters
2 parents 29e83d3 + b26724f commit ff29de0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorials/scripting/gdscript/gdscript_exports.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ Resources and nodes can be exported.
5353
@export var resource: Resource
5454
@export var node: Node
5555

56+
Even if a script is not executed in the editor, exported properties
57+
can still be edited. However, getters and setters will only be used
58+
if the script is in :ref:`doc_gdscript_tool_mode`.
59+
5660
Grouping exports
5761
----------------
5862

@@ -297,10 +301,6 @@ Therefore, if you specify an extension of Resource such as:
297301
The drop-down menu will be limited to AnimationNode and all
298302
its derived classes.
299303

300-
It must be noted that even if the script is not being run while in the
301-
editor, the exported properties are still editable. This can be used
302-
in conjunction with a :ref:`script in "tool" mode <doc_gdscript_tool_mode>`.
303-
304304
.. _doc_gdscript_exports_exporting_bit_flags:
305305

306306
Exporting bit flags

0 commit comments

Comments
 (0)