![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | gdnc |
I have a scene, which I have duplicated using right click → Duplicate in the filesystem browser on the left. I wanted to keep a similar node structure, but write a new script for the new scene. However, when I right click → Attach Script in the Scene box, it takes me to the .gd script from the original scene. Using right click → Clear Script in the new scene doesn’t seem to do anything. How can I start a new .gd script for the new scene?
hello there, I am still using godot 2.1.x.
So in my version:
-
click the node where you attached your initial script
-
in the node script part, click the down arrow
-
there you have the option to clear your script
-
or you can create a new script in your explorer and load it.
Hope this works the same in godot 3.x. Peace.
mokalux | 2018-09-07 05:10