alright so I’m not at my computer so it might be a bit not accurate and I don’t exactly know what it’s called but when I try to like @export my node for example it’s name or whatever it’s called is “.” Even though I know it’s supposed to be something like “./player”. Idk if I described it good but I hope someone knows what I’m talking about, I am a beginner so you know, we ball
@export var my_node: Node
func ready() -> void:
print(my_node.name)
I’m not sure what you are trying to do but you seem to be confusing node names with node paths. "." is the path of your current Node, but not its name.
1 Like