# Nodepaths aren't ready for use until the node is ready. Try: @onready var nodes = [$node/child1, $node/child2]