Skip to main content

Description

Sets the same property value on multiple Roblox instances simultaneously. This is useful for batch operations where you need to apply the same change to many objects at once.

HTTP Endpoint

POST /tools/mass_set_property

Parameters

paths
array
required
An array of paths to instances (e.g., [“game.Workspace.Part1”, “game.Workspace.Part2”])
property
string
required
The name of the property to set on all instances
value
any
required
The value to set. Will be automatically converted from JSON to the appropriate Roblox type.

Response

results
array
An array of result objects, one for each path provided

Code Examples

Set transparency on multiple parts

{
  "paths": [
    "game.Workspace.Part1",
    "game.Workspace.Part2",
    "game.Workspace.Part3"
  ],
  "property": "Transparency",
  "value": 0.5
}

Set anchored property on multiple parts

{
  "paths": [
    "game.Workspace.Platform1",
    "game.Workspace.Platform2"
  ],
  "property": "Anchored",
  "value": true
}

Set material on multiple parts

{
  "paths": [
    "game.Workspace.Floor",
    "game.Workspace.Wall1",
    "game.Workspace.Wall2"
  ],
  "property": "Material",
  "value": "Grass"
}

Example Response

Partial success

{
  "results": [
    {
      "path": "game.Workspace.Part1",
      "ok": true
    },
    {
      "path": "game.Workspace.Part2",
      "ok": true
    },
    {
      "path": "game.Workspace.InvalidPart",
      "ok": false,
      "error": "Path not found: game.Workspace.InvalidPart"
    }
  ]
}

Build docs developers (and LLMs) love