How to change variables of a duplicate

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Boreas

I have made a box container with label and during playtime i would like to duplicate this box container x times and change the duplicates label text. I don’t know how can I reference the duplicate of that container. The container is named “0” so i tried simply iterating and accesing duplicates by “ParentNode.$(str(index)).get_child().text” but it obviously doesn’t work. Is there an easy way to reference the duplicates?

:bust_in_silhouette: Reply From: code

The code is

ParentNode.get_node(str(index)).get_node("label name").text