move_elements
Shift Excalidraw elements by dx/dy, preserving properties and keeping container labels and bound arrows attached. Select by IDs, group IDs, or region; returns new bounds.
Instructions
Shift a set of elements by dx, dy in one write, keeping everything else about them. Select by ids, groupIds (an import_svg piece), a region box, or any mix. A container's label always moves with it, and an arrow bound to something that moves keeps that end attached (include the arrow itself to move it whole). Returns the new bounds of what moved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | Scene px to the right (negative = left). | |
| dy | No | Scene px down (negative = up). | |
| ids | No | ||
| label | Yes | Short description of what this change is doing, e.g. 'add the dog illustration'. Shown next to the snapshot in the history sidebar, which is how the user decides whether to keep or revert it. Always set it. | |
| scene | Yes | Scene id, exact name, or a unique part of the name. Use list_scenes if unsure. | |
| region | No | Everything overlapping this box moves. | |
| groupIds | No |