offset_wrap
Shift layers with wrap-around so pixels leaving one edge reappear on the opposite side, making sprites tile seamlessly by painting over the seam.
Instructions
Shift layers with wrap-around (pixels leaving one edge come back on the other).
The standard way to make a tile seamless: offset by half the tile size so the edges meet in the middle, paint over the seam there, then offset back. view_tiled shows whether it worked.
Args: filename: Aseprite file dx, dy: Shift in pixels (e.g. half the width and height) layer_name: "*" = all image layers, or one layer frames: "" = every frame
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>",
"dx": "<dx>",
"dy": "<dy>"
},
"name": "offset_wrap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | Yes | ||
| dy | Yes | ||
| frames | No | ||
| filename | Yes | ||
| layer_name | No | * |