pencil2d_add_layer
Add a bitmap, vector, sound, or camera layer to a Pencil2D project by specifying the .pclx file path and layer name.
Instructions
Add a new layer (bitmap, vector, sound, or camera) to a Pencil2D project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new layer. | |
| visible | No | Initial layer visibility (default true). | |
| layer_type | No | Type of layer to create (default 'bitmap'). | |
| project_path | Yes | Path to the .pclx file. |