godotengine / godotengine/godot-docs
Where to find the script property
- Dominant language
- reStructuredText
- Stars
- 5.7k
- Forks
- 3.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 25
Description
**Your Godot version:** 3.3.2 stable, latest
**Issue description:**
In the bottom of every node in the scene tree there is the script property, telling me what script is attached to my node.
This script property appears to be a property of the Node class:

However when browsing the Node class I can't find this property: [Node class properies](https://docs.godotengine.org/en/stable/classes/class_node.html#properties)
The object class has a method called [set_script()](https://docs.godotengine.org/en/3.1/classes/class_object.html#class-object-method-set-script), but no script property either.
When I hover with my mouse over the script property in the inspector, it clearly says the property name is "script":

I can even assign a script at will using `$my_node.script = preload("res://script_name.gd")`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.