manage_camera
Control the Roblox Studio viewport camera: set positions, focus on objects, zoom extents, capture screenshots, and record short clips. Solve camera framing and visual documentation needs.
Instructions
Control the Studio viewport camera. Actions: get/info, set, focus/focus_path, focus_position (look at a world point), suggest (recommended views for a target or the selection — does not move the camera), zoom_extents, screenshot, record, record_stop. screenshot captures the Edit-mode viewport via Roblox CaptureService (works even if Studio is in the background). record captures a short viewport clip (CaptureService frame burst → Node stitch). CaptureService allows only one in-flight shot and typically lands around 1.5–2 fps; that cap is expected. record_stop aborts an in-flight recording. Requires File → Game Settings → Security → Allow Mesh / Image APIs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | record target frames per second (default 15, range 4–24). Actual rate is CaptureService-limited (~1.5–2 fps). | |
| path | No | Instance to focus for focus/screenshot/record | |
| action | Yes | ||
| lookAt | No | [x,y,z] point to look at | |
| seconds | No | record duration in seconds (default 4, max 12) | |
| distance | No | Distance from target when focusing | |
| position | No | [x,y,z] camera position | |
| maxDimension | No | Longest screenshot/record side in pixels (screenshot default 1024, record default 480) |