Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Selects the parent group of the currently selected layer.
#target photoshop
var doc = app.activeDocument;
var layerParent = doc.activeLayer.parent;
if ( layerParent !== doc ) doc.activeLayer = layerParent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.