godotengine / godotengine/godot-docs

get_node() could mention scene unique nodes

Open
#8,219 0 comments 0 reactions 0 assignees View on GitHub
area:class reference enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:** v4.2.dev5.official [e3e2528ba]

**Issue description:**
I just found out you can call `nodereference.get_node("%UniqueNode")` from anywhere. I thought scene unique nodes could only be accessed from within the same scene, but you can actually call it from outside of the scene that has the unique node, which is very handy.

However the documentation for get_node() implies that these are the only ways to use it:
![Untitled](https://github.com/godotengine/godot-docs/assets/15337628/64535e94-7194-4887-9d4e-46af03291c2e)

There's more 'possible paths' than you're lead to believe.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.