0 votes

When copying a node in the node tree (CTRL+D) the signal of my node's tween is not beeing copied. Is there a way to do this (in a script?).


asked Sep 14, 2017 in Engine by simplex3 (12 points)

1 Answer

+1 vote

What is it you're trying to do? Is the node being copied while you are editing the game? Or while the game is running? If you want the nodes to be copied at startup you could just connect there signals in the ready function as such:

var nodes = get_node("pathtoparent").connect("pressed", self, "your_function")

If you let me know exactly what you need to do I can help you better?

answered Sep 16, 2017 by stubbsy345 (282 points)

thank you very much for the reply.
That's exactly what i did, finally.

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.