set_constraints
Set a node's resize constraints relative to its parent by specifying horizontal and vertical behavior options like MIN, CENTER, MAX, STRETCH, or SCALE.
Instructions
Set a node's resize constraints relative to its parent. Returns { ok, nodeId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| vertical | Yes | ||
| horizontal | Yes |