Tell me please, can I access the node from the setter?
For example, here's the code that causes an error:
export(String, "Human", "Elf") var race setget test
func test(new_value):
race = new_value
print($Name.text)
Where Name is a children Label in KinematicBody2D from which I call this script.