How do I target similar layers (bg1, bg2, bg3) from a Sketch file with states? Each layer needs an 'active' state and needs to switch on/off when clicked. Pretty simple, but having some issues... Thank you!
put them in an array [bg1, bg2, bg3] then loop over it and apply states and click handler to each.