create_star
Add a star shape to a Figma document at specified coordinates with customizable size, points, inner radius, fill, and stroke colors.
Instructions
Create a new star in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position (local coordinates, relative to parent) | |
| y | Yes | Y position (local coordinates, relative to parent) | |
| width | Yes | Width of the star | |
| height | Yes | Height of the star | |
| points | No | Number of points (default: 5) | |
| innerRadius | No | Inner radius ratio (0.01-0.99, default: 0.5) | |
| name | No | Optional name for the star | |
| parentId | No | Optional parent node ID to append the star to | |
| fillColor | No | Fill color in RGBA format | |
| strokeColor | No | Stroke color in RGBA format | |
| strokeWeight | No | Stroke weight |