Can’t quite figure out how to make photoshop check to see if a layer has a mask and return a value
Is there a way in UXP like
app.activeDocument.activeLayers[0]. //getMaskValueSomehow
Or I assume I need to somehow get a result off running a batch play code like the below?
{
"_obj": "get",
"_target": [
{
"_ref": "channel",
"_enum": "channel",
"_value": "mask"
}
],
}