#Storing Node Reference in Array

2 messages · Page 1 of 1 (latest)

burnt shore
#

Nodepaths aren't ready for use until the node is ready. Try:

@onready var nodes = [$node/child1, $node/child2]

shy tartan
#

ok, I'll try that