set_stroke_color
Change the stroke color of a Figma node by specifying RGB values, alpha, and stroke weight to customize design elements programmatically.
Instructions
Set the stroke color of a node in Figma
Input Schema
Name | Required | Description | Default |
---|---|---|---|
a | No | Alpha component (0-1) | |
b | Yes | Blue component (0-1) | |
g | Yes | Green component (0-1) | |
nodeId | Yes | The ID of the node to modify | |
r | Yes | Red component (0-1) | |
weight | No | Stroke weight |