Skip to content
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

get_node() doesn't see node properties #92185

Closed
JekSun97 opened this issue May 21, 2024 · 1 comment
Closed

get_node() doesn't see node properties #92185

JekSun97 opened this issue May 21, 2024 · 1 comment
Labels

Comments

@JekSun97
Copy link

JekSun97 commented May 21, 2024

Tested versions

Happens in all versions of Godot 4+, but does not happen in Godot 3.5.3+

System information

Godot v4.3.dev6 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated Radeon RX 560 Series (Advanced Micro Devices, Inc.; 31.0.14001.45012) - Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 Threads)

Issue description

Previously, when writing code in Godot 3.5.3, I always used code like this:
get_node("AnimationPlayer").play("anim")

Now get_node does not see the functions and parameters of the node specified in the argument, but the $AnimationPlayer method does see the node parameters.

0521.1.mp4

Steps to reproduce

write get_node in the code, specifying any child node as an argument, and try to find the functions of this node in the tooltips

Minimal reproduction project (MRP)

N/A

@AThousandShips
Copy link
Member

Thank you for reporting, consolidating in:

See there for more details, if you think something was missed about this and it's not the same issue, please comment here and it can be reopened

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants