It would be helpful if we could use the For Each Child event with object variables. Currently, iterating through an object array requires using a counter variable with a repeat event or copying the object variable to a scene or global variable. For an object structure, the only way is to copy the structure to either a scene or global variable. (There might be an extension to copy variables or you could use JavaScript)
For those interested in doing it, here are 3 current methods. (Click to expand)
This uses an object named Node with 2 variables. list is an array and index is a number.
It uses a text object to display the values when an object is touched and the mouse is released.
You can either add the values to the array with the setup panel or through actions.
.
This method works for arrays. It uses JSON to copy the variable to a scene variable.
.
You can use a similar approach for an object structure variable. The for each child is set up differently. The first variable is the value or child while the 2nd variable is for the structure name.
The variables I used for all 3 methods
Object variables