really begginer question here, but i cant seem to figure it out. the code is this: i've tried it a bunch of different ways, and i cant seem to get it to work.
extends CharacterBody2D
@export var map : PackedScene
func _ready():
var TileMap = %MapInstance.get_child(1)
and the error is: Cannot call method 'get_child' on a null value.