extends "res://Scenes/Maps/Map.gd" func _ready(): super._ready() for i in 6: var enemy = preload("res://Scenes/Entities/Enemies/Enemy.tscn").instantiate() enemy.position = Vector2(randi_range(3, 10), randi_range(3, 10)) * 16 enemy.health = 4*(i+1) $Areas/Main/TileMap.add_child(enemy)