Subscribe to Figma event
figma.subscribe_eventSubscribe to Figma Plugin API events on specified targets and queue them for polling to capture changes.
Instructions
Subscribe to a Figma Plugin API event on figma or another event-capable API target and queue events for polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| once | No | ||
| nodeId | No | ||
| pageId | No | ||
| target | No | figma | |
| styleId | No | ||
| eventType | Yes | ||
| imageHash | No | ||
| targetPath | No | ||
| variableId | No | ||
| loadAllPages | No | ||
| maxQueueSize | No | ||
| defaultReturn | No | ||
| variableCollectionId | No |