Save the editor card's sprite
save_artIdempotent
Saves the user's edits from the SpriteForge editor card to its edit session. Only the card calls it.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| art | Yes | Pixel art in SpriteForge's format: palette = hex colours, grid = rows of palette indexes (-1 = transparent). Optional frames for an animation, each { grid } on the same palette. | |
| session_id | Yes |