pencil2d_set_camera
Set camera keyframes in a Pencil2D project by configuring pan offsets, zoom scale, and rotation angle for a specified frame.
Instructions
Configure camera keyframe positioning, panning (dx, dy), zooming (scale), and rotation angle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | Horizontal camera pan offset in pixels. | |
| dy | No | Vertical camera pan offset in pixels. | |
| frame | No | Frame number for the camera keyframe (default 1). | |
| scale | No | Camera zoom scale (1.0 = 100%, 1.5 = 150% zoom-in). | |
| rotation | No | Camera rotation angle in degrees. | |
| project_path | Yes | Path to the .pclx file. |