Modify instances
modifyBatch-apply properties, attributes, and tags to multiple Roblox instances as one undoable, all-or-nothing step. Invalid values revert the entire batch, preventing partial edits.
Instructions
Sets properties, attributes and tags on existing instances, as one undoable step.
Each entry takes a list of paths, so one entry can apply the same change to many instances — anchoring 200 parts is one entry, not 200. Combine with find to build the path list.
The batch is all-or-nothing: if any value is rejected the recording is cancelled and every instance reverts, rather than leaving the place half-changed.
Values use the same notation the Properties panel shows — see the properties field. To change a script's code use script_edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | Changes to apply together as one undoable step. | |
| studioId | No | Target Studio; omit for the active one. |