Hey y'all, I've created layers in a for loop that I want to call later individually but their IDs are auto generated. Is there a way to define the ID or call the layer by its name instead?
For example, in a function called during for i in [1..9]item = new Layer name: "item_" + i
item_i.onClick or any other time I want to single out that item.
🙏 in advance!
Store them in an array.
GG, good idea! I was already pushing them into arrays, it's been a long day...