I joined a game jam, I tried to make a 2d topdown rpg it works well, but I can't change the scene like different maps, I tried to use area 2d to change the scene
heres the script:
extends Area2D
onready var area = $CollisionShape2D
func onEntryHallwaybodyentered(body):
gettree().changescene("res://World/room/hallway.tscn")
sorry if this question was stupid, I'm just a beginner, Sorry