Skip to content

Conversation

@Calinou
Copy link
Member

@Calinou Calinou commented Sep 19, 2025

@Calinou Calinou added enhancement topic:gdscript area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.5 labels Sep 19, 2025
@AThousandShips AThousandShips changed the title Document reading an exported property value's early on in GDScript exports Document reading an exported property's values early on in GDScript exports Sep 19, 2025
@mhilbrunner
Copy link
Member

@Calinou Gentle reminder poke :)

@Calinou Calinou force-pushed the gdscript-exports-read-value-early branch from 3673fe2 to ee6a25d Compare October 9, 2025 21:01
@mhilbrunner
Copy link
Member

@Calinou This needs a CI fix, apparently

@Calinou Calinou force-pushed the gdscript-exports-read-value-early branch from ee6a25d to d442121 Compare November 3, 2025 18:10

To get the value that was set in the inspector (and therefore saved in the scene/resource file),
you need to read it *after* the object is constructed, such as in
:ref:`Node._ready() <class_Node_method__ready>`. You can also read the value
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
:ref:`Node._ready() <class_Node_method__ready>`. You can also read the value
:ref:`Node._ready() <class_Node_private_method__ready>`. You can also read the value

CI fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.5 enhancement topic:gdscript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants