godotengine / godotengine/godot-docs
Documentation: distinguish Abstract/Virtual base classes that can't be instantiated directly
Open
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:**
3.3.2
**Issue description:**
`Script.new()` gives `Class type: 'Script' is not instantiable` error. I didn't expect that because this isn't specified in the docs. For example `BaseButton` has such note in the class description:
```
BaseButton is the abstract base class for buttons, so it shouldn't be used directly (it doesn't display anything).
Other types of buttons inherit from it.
```
**URL to the documentation page (if already existing):**
https://docs.godotengine.org/en/stable/classes/class_script.html?highlight=script
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.