camera_follow
Makes the camera follow a layer or peg with damped smoothing; set axis, pixel offset, and smoothing time in frames for stable camera moves.
Instructions
Follow a layer/peg with the camera using critically damped smoothing (game-camera SmoothDamp). smooth_time in frames (7 = 0.3 s); axis x | y | xy; offset px added to the followed position.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scene": "<scene>",
"target": "<target>",
"start": "<start>",
"end": "<end>"
},
"name": "camera_follow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| axis | No | x | |
| scene | Yes | ||
| start | Yes | ||
| offset | No | ||
| target | Yes | ||
| smooth_time | No |