LayerCompRecaptureOptions

An object literal can be constructed with any of the following properties and passed to LayerComp.recapture. As a type, LayerCompRecaptureOptions can be used in Typescript development.

Copied to your clipboard
const options = { visibility: true, position: true };
await require('photoshop').app.activeDocument.layerComps.add(options);
NameTypeDefaultMin VersionDescription
appearance
boolean
false
24.0
Update the recorded state of the layers' effects.
childComp
boolean
false
24.0
Update the recorded state of any Layer Comps contained in the recorded layers' Smart Objects.
position
boolean
false
24.0
Update the recorded state of the layers' position.
visibility
boolean
false
24.0
Update the recorded state of the layers' visibility.
Was this helpful?