extends Area


func _ready():
	var _connected = self.connect("body_entered", self, "_body_entered")


func _body_entered(body):
	if body.is_in_group("player"):
		global.sunwarp = 1
		body.get_node("pivot/camera/sunwarp_background").visible = false