6 Replies Latest reply on May 28, 2016 5:28 AM by mikeAtJB

    Unlocking sublayers

    mikeAtJB Level 1

      I am trying to resize some art to specific dimensions. The script ran fine except for 1 file and it drove me crazy trying to find why 1 layer would not resize. I checked to make sure the layer wasn't locked:

      layer3.png

      and it looked fine. I used the line currentLayer.locked=false; to unlock any locked ones. Finally, I checked the sublevels and, sure enough, there was a level locked.

      layer4.png

      Is there a way to unlock all sublayers?