Group Layers
photopea_group_layersGroup multiple layers into a named folder in Photopea. Specify layer names to organize complex designs into collapsible hierarchies and simplify document structure.
Instructions
Group multiple layers into a layer group (folder). Layers are specified by name — use get_layers to find layer names. Grouped layers can be ungrouped later with ungroup_layers.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | Yes | Array of layer names to include in the group (use get_layers to find names) | |
| groupName | No | Display name for the group folder in the layers panel |