set_node_properties
Update a Figma node's visibility, lock state, or opacity individually or together. Modify only specified properties, leaving others unchanged, to control node appearance and interactivity.
Instructions
Set visibility, lock state, and/or opacity of a node in Figma. Only provided properties are changed; omitted properties remain unchanged.
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": {
"nodeId": "<nodeId>"
},
"name": "set_node_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to modify | |
| visible | No | Set node visibility (true = visible, false = hidden) | |
| locked | No | Set node lock state (true = locked, false = unlocked) | |
| opacity | No | Set node opacity (0 = fully transparent, 1 = fully opaque) |