Description
The new "For each child variable (of a structure)" function works only when using a single-level, scene, structure variable.
This function does not seem to use other types of variables, including:
- Object variables
- Multi-level variables (grandparent.parent.child)
- Global variables
This request is to add support for these types of structure variables.
To Reproduce
Steps to reproduce the behavior:
- Create a structure variable from the list above
- Create a "For each child variable (of a structure)" event
- Create a sub-event that changes the background color (this simply confirms that the ForEach() loop was entered)
- Preview the game and see if the background changes
Other details
- Tested on GDevelop beta 105
Example game
ShadowClone8.zip
Screenshot
