Skip to content

Autoload nodes can be accessed in the editor if they're using tool scripts #10820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

ryevdokimov
Copy link
Contributor

Autoload nodes are not an exception. If a tool script is attached to them, they also can be accessed. They become a child of the root node and can be used in the editor in the same way that they would be used during runtime.

image

@skyace65 skyace65 added bug area:manual Issues and PRs related to the Manual/Tutorials section of the documentation labels Apr 11, 2025
Copy link
Contributor

@skyace65 skyace65 left a comment

Choose a reason for hiding this comment

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

Tested and confirmed this change is accurate. You just have to reload a project after an autoload has @tool added to it for it to be accessible.

@skyace65 skyace65 merged commit 90fc3e7 into godotengine:master Jul 27, 2025
@skyace65
Copy link
Contributor

Thanks! And congrats on your first merged PR!

@ryevdokimov ryevdokimov deleted the autoload-nodes-can-be-accessed-with-tool-scripts branch July 27, 2025 19:24
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 bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants