+3 votes

I saw a keyword in the documentation that shows the node in the built-in class list, but I forgot it. Also, I wanted to know if it is possible to extend this class from the list.

in Engine by (671 points)
edited by

Hi, I could be misunderstanding but as far as I know it is only possible to add to the build-in class list using plugins and the new 3.1 class registering.

http://docs.godotengine.org/en/3.0/tutorials/plugins/editor/making_plugins.html

http://docs.godotengine.org/en/latest/getting_started/step_by_step/scripting_continued.html#register-scripts-as-classes

If there is some other way I would really like to know about it.

1 Answer

+2 votes
Best answer

This feature is only available in the upcoming Godot 3.1.

extends OtherClass

# (optional) class definition with a custom icon
class_name MyClass, "res://path/to/optional/icon.svg"
by (3,891 points)
selected by

Thank you for the answer.

If you'd like, you can download and try out Godot 3.1 alpha 2 here.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.