-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Missing hint/suggestion for toggling visibility of a node #91612
Comments
You need to add static typing to the variable, var got_node : RichTextLabel = get_node(...) |
This should work even without type hint, but make sure you have a correct scene open, the script is attached in that scene and the path you are accessing exists. |
It works for Seems like a duplicate of: Though if the path is outside of an edited scene it won't work because of the limitations of the system and that it's simply impossible to know where it might be looking for, so unless the script is part of a larger scene where the target path is in the same scene it's unlikely to work even if that issue is fixed |
Tested versions
v4.2.2.stable.mono.official [15073af]
System information
Edition Windows 11 Pro Version 23H2 Installed on 13/03/2024 OS build 22631.3527 Experience Windows Feature Experience Pack 1000.22700.1003.0
Issue description
Steps to reproduce
.
Minimal reproduction project (MRP)
.
The text was updated successfully, but these errors were encountered: