Broken paths when changing location of inherited script's parent

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

If I have an inherited script, like the one below, and change the path of its parent (move it to a different folder) it breaks. Is there anyway for this to work automatically?

extends 'res://'

func _ready():
:bust_in_silhouette: Reply From: coffeeDragon

Right know there isn’t a way to do that.

You could use a realitve path, so that if the path of the child and parent change, like after putting them into a folder, it doesn’t break between them.

extends ""

func _ready():

But you would still have to change to files that include the child.