get_Parent() function for AudioPlayer2D?

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

why isn’t there a get_Parent() function for this? I need it to calculate distance between the player and the object making noise to calculate the appropriate volume_db, but it doesn’t exist for this object? Can anyone help?

:bust_in_silhouette: Reply From: kidscancode

As answered in your other post, the function name is get_parent(). No capitalization.