extends ScrollContainer func populate(data): var tasks = Task.get_by_frequency(data) var TaskItem = load("res://screens/TaskManager/TaskItem.tscn") var task_list = $"%TaskList" for task in tasks: var item = TaskItem.instance() item.populate(task) task_list.add_child(item)