We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
Copy link to clipboard
In Photoshop we can select previous/next visible layer with Alt+[ and Alt+]. But is it possible to select a "sibling" at the same level? For example:
Is it possible to make a script that jumps from A to B and vice versa? I know one possible method is collect the whole layer tree first, but it's very slow.
if ((l=(lSs=(lyr = (aD = activeDocument).activeLayer).parent.layerSets).length) && !(l - 2))
lSs=.slice.call(lSs), aD.activeLayer=lyr.name==(shft=lSs.shift()).name ? lSs : shft