Action Image
Images to Spritesheet
Combines multiple images into a single spritesheet grid.
Node IDImagesToSpritesheetAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Source Image Paths sourceImagePaths | array_string | Yes | [] | A list of file paths for the images to combine. |
Output Spritesheet Path outputFilePath | file_picker | Yes | — | The full path to save the new spritesheet (e.g., "C:/temp/sprites.png"). |
Columns columns | integer min 1 | Yes | 8 | The number of images (sprites) per row in the grid. |
Sprite Width (0 = auto) spriteWidth | integer min 0 | No | 0 | Force all sprites to this width. 0 = use the first image's width. |
Sprite Height (0 = auto) spriteHeight | integer min 0 | No | 0 | Force all sprites to this height. 0 = use the first image's height. |
Padding (px) padding | integer min 0 | No | 0 | The amount of space in pixels to leave between each sprite. |
Overwrite overwrite | boolean | No | false | If true, overwrites an existing file at the output path. |
Create Directory createDirectory | boolean | No | true | If true, creates the parent directory for the output file if it doesn't exist. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | Triggers the spritesheet creation. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Success output0 | object | spritesheetPath | Fires on success and contains the new spritesheet path as data. |