Framer Classic » 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"]

Leave a Reply