lock_nodes
Prevent accidental selection or editing of Figma nodes, such as backgrounds, on the canvas. Locked nodes still render and export. Returns the IDs of nodes locked.
Instructions
Lock nodes so they can't be selected or edited on the canvas (e.g. backgrounds); locking a parent also locks its descendants. Locked nodes still render and export — this only affects canvas interaction and is reversed by unlock_nodes. Returns { ok, affected } with the ids actually locked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeIds | Yes | Node ids to lock |