You can use get_parent
or get_node("..")
to get direct parent. You can also use get_owner
to get parent of whole instanced scene. So if you have next scene:
parent
child1
child2
child3
child3.get_parent()
will return child2
and child3.get_owner
will return parent
.
In C# methods should have GetParent
and GetOwner
names.