Set selection
set_selectionSelect Roblox Studio instances by path so users can see changes, with an optional focus flag that moves the camera to 3D selections.
Instructions
Select instances in Studio so the user can see what you changed. focus=true also moves the camera to them (only works for 3D instances).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"paths": "<paths>"
},
"name": "set_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Move the Studio camera to the selection. Default false. | |
| paths | Yes | Instance paths to select. |