Godot Version
4.2
Question
my scene is super duper simple.
playground
-player
-Item_base
all three have scripts attached in their own scenes.
item_base has this:
if(get_parent().has_method(“one”)):
#get_parent().add_item_to_player(0)
print(“checked”)
else:
print(get_parent())
print(“failed”)
queue_free()
and parent has
func one():
print(“one”)
pass
yet it fails the has_method every single time??? im so confused please help



even still. it does not find the function named one. and im just doing this as a test…
What does print(get_parent())
in item_base show? 
player and Item_base are siblings.
player and item_base are both children of playground/playground is their parent.
I think you are getting the playground with get_parent().
other than using get_parent(), use signal to trigger method on parent from child’s script
or simply pass the method as a Callable to child, and .call()
the Callable from child when needed
it returns: playground#random-numbers
so it can find the parent…
ok, i just come from c++ and felt like chaining up and down the parent structure added unnecessary steps to the execution of functions. Ty!