Create object based on a Variable

Because you canโ€™t create color.1 like you try to do.
Use color[โ€œ1โ€]

Same as

Please search before asking :wink:
http://wiki.compilgames.net/doku.php/gdevelop5/all-features/variables#structure_variables