extends Menu func _ready(): super() for i in range(1, 6): var texture = TextureRect.new() texture.texture = load("res://menu/book/book_%d.svg" % i) $ScrollContainer/VBoxContainer.add_child(texture)