godotengine / godotengine/godot-docs
Node tutorial says freed instance references become null instead of invalid
Open
area:manual
bug
- Dominant language
- reStructuredText
- Stars
- 5.7k
- Forks
- 3.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 25
Description
**Your Godot version:**
Godot 4
**Issue description:**
In the `Nodes and scene instances` tutorial, the following line:
> You can alternatively call `free()` to immediately destroy the node. You should do this with care as any reference to it will instantly become `null`.
Should say "invalid" instead of "null". Saying that a reference becomes null means that it contains the `null` value, which is not what happens.
**URL to the documentation page:**
https://docs.godotengine.org/en/stable/tutorials/scripting/nodes_and_scene_instances.html#creating-nodes
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.