Move object
move_objectReposition an object by applying a horizontal and vertical offset to its location in the parent coordinate space.
Instructions
Translate an object/group by (dx, dy) in its parent coordinate space.
When to use: repositioning one object; get its id from find_objects. To resize use
scale_object, to spin use rotate_object, to lay out copies use tile.
Key params: dx/dy are a delta in the parent coordinate space; a translate(dx,dy) is
prepended to the target's transform (child geometry untouched).
Return shape: EditResult — operation_id, snapshot_id, changed (real before/after content
diff), before/after preview; the edit lands on the working copy only (reversible).
Example: move_object(doc_id, "logo", 10, 0)
Render and look before you trust this edit: render with render_preview (or live_render_view)
and inspect the result before relying on it; restore_snapshot reverts it if it is wrong.
Risk class: medium.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | Yes | ||
| dy | Yes | ||
| doc_id | Yes | ||
| object_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| changed | Yes | ||
| summary | No | ||
| snapshot_id | Yes | ||
| operation_id | Yes | ||
| preview_after | No | ||
| preview_before | No |