extends Node3D func _on_switch_1_switch_changed() -> void: var parent = get_parent() parent.number_of_enemies = 1 parent.spawn_enemies()