0 votes

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

in Engine by (35 points)

1 Answer

+1 vote
Best answer

And your question is...? ;) Just do it!

# ...
# ...

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").

by (10,523 points)
selected by
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 Frequently asked questions and 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 [email protected] with your username.