+3 votes

Also, can I attach one script to different nodes?

When I click the "Edit/Create the Node script" button, it only allows me to create a script, rather than choose a current script.

in Engine by (112 points)

1 Answer

+3 votes
Best answer

At the end of Inspector tab there is always a member called "Script" inherited from Node class. just clic on it and change it using "Load" from the pop up menu.

by (680 points)
selected by

Thanks genete. But I think it should make much more sense if this could be implemented in the "Edit/Create" script button. I'll put an entry in github.

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.