set_text_align
Set the text alignment of a text node in Figma. Adjust horizontal alignment (LEFT, CENTER, RIGHT, JUSTIFIED) and vertical alignment (TOP, CENTER, BOTTOM). Use RIGHT for Arabic/RTL text.
Instructions
Set the text alignment of a text node in Figma. Use textAlignHorizontal RIGHT for RTL/Arabic text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the text node to modify | |
| textAlignHorizontal | No | Horizontal text alignment (LEFT, CENTER, RIGHT, JUSTIFIED). Use RIGHT for Arabic/RTL text. | |
| textAlignVertical | No | Vertical text alignment (TOP, CENTER, BOTTOM) |