set_component_property
Set a component property value using a typed value and property name; check available properties and types first with query_project_state.
Instructions
Set a property value on a component. Use query_project_state first to see available properties and their types. Requires BanterMCPBridge extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Typed property value. Use numbers/booleans directly, arrays for vectors/colors, enum name or index, and objects for Rect/Bounds. | |
| objectId | No | Preferred: GameObject globalObjectId from scene-hierarchy.json | |
| objectPath | No | Legacy path selector | |
| componentId | No | Preferred when a GameObject has duplicate component types: component globalObjectId from scene-hierarchy.json | |
| propertyName | Yes | Property name (e.g., 'mass', 'useGravity', 'isTrigger') | |
| componentType | No | Component type name (e.g., 'Rigidbody', 'Transform') |