Add step number
snipaya_add_stepAdd an auto-numbered step badge centered on canvas or image coordinates to mark ordered steps in guides; adjust size for large screenshots.
Instructions
Add an auto-numbered step badge (1, 2, 3...) centered at "at", for step-by-step guides. size is the badge diameter; make it larger on big screenshots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | A point. Canvas coordinates, or image pixels when relativeTo is set. | |
| size | No | ||
| style | No | Optional style. Omitted fields use the user’s current tool style. Brand colors: coral #EC534E, papaya #FE9440. | |
| tabId | No | Target tab id. Defaults to the active tab. | |
| relativeTo | No | Image id from snipaya_get_canvas. When set, all coordinates in this call are pixels of that image as captured (the same pixels you see in snipaya_render of that image). |