How to call a "higher node" by a Child Node

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

In my game, i’m trying to call a child node (Node 1) from another child node (Node 2), and for some reason i don’t know how to do that, can someone help me?

MainNode
----> Node1
----> Node2

:bust_in_silhouette: Reply From: Asthmar

From node 1’s script
get_parent().get_node(‘Node2’)