Make a Node react after other Node goes free queue

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By HelpMePlease

I have this Node/Script that will go free queue after it touches a collision shape

And i have a Timer that keeps runing up i want the Timer to stop when the Node goes free queue.

i need one to react to the other

:bust_in_silhouette: Reply From: njamster

And your question is…? :wink: Just do it!

# ...
get_node("<RelativePathToTimerNode>").stop()
queue_free()
# ...

For example, if your tree looks like this:

- Root-Node
  - Node <-- This one is freed, the script is attached here
  - Timer

you would do get_node("../Timer") or get_parent().get_node("Timer").