Hi, i have a node-less script extend area2d and attached it to multiple area2d node in my game, the code is to see if the area colide with a body with difference parent node it will hide the node that the area2d node is attched to
self.connect("body_entered", self, "body_entered")
var a = x.get_parent().get_parent().get_name()
if a != "map" :
but it doesnt seem to work, putting a break into the code show that a is "map"
but the condition in the signal still run anyway