Set comment
set_commentUpdate an existing comment in a Scratch project by ID, changing its text, position, size, minimized state, or attached block. Only specified fields are modified.
Instructions
Update an existing comment on a target by id: its text, position, size, minimized state, or the blockId it is attached to (pass an empty string or null to detach it). Only the fields you pass change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Canvas X position. | |
| y | No | Canvas Y position. | |
| id | Yes | The comment id (from `list_comments`). | |
| text | No | New comment text. | |
| width | No | Box width in pixels. | |
| height | No | Box height in pixels. | |
| target | Yes | Sprite name, or "Stage". | |
| blockId | No | Block id to attach to, or null/"" to detach. | |
| minimized | No | Whether the comment is collapsed to its title bar. |