set_constraints
Define responsive constraints for a Figma node, controlling how it scales or anchors when the parent frame resizes. Choose vertical and horizontal behaviors to maintain layout stability.
Instructions
Set responsive constraints on a node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Target node ID | |
| vertical | No | Vertical constraint | |
| horizontal | No | Horizontal constraint |