States » Listing all the states
Listing all the states
For when you might need it, stateNames
contains an array with a layer’s states.
print redSquare.stateNames
» ["default", "bigAndBlue", "rotated"]
For when you might need it, stateNames
contains an array with a layer’s states.
print redSquare.stateNames
» ["default", "bigAndBlue", "rotated"]