How do you iterate through an associative array? For example, in python I can do:
dictionary={“one”:1,“two”:2}
for item in dictionary:
print item
Here is my corona example:
local myArray = {
SHAPE1 = {visible = true, image = "image1.png"},
SHAPE2 = {visible = true, image = "image2.png"},
SHAPE3 = {visible = false, image = "image3.png"},
SHAPE4 = {visible = false, image = "image4.png"}
}
[import]uid: 39238 topic_id: 7007 reply_id: 307007[/import]