shade
Darken or lighten pixels in pixel art by stepping along palette ramps or snapping to nearest color. Operates on layer or selected region.
Instructions
Darken or lighten existing pixels. A pixel whose color is part of a ramp steps along that ramp; otherwise it snaps to the nearest palette color in that direction. mode 'ramp' only moves ramp colors, 'nearest' ignores ramps, 'auto' (default) does ramp-then-nearest. Operates on the whole layer unless a region is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default auto | |
| frame | No | Frame index, 0-based (default: active frame) | |
| layer | No | Layer id or name (default: active layer) | |
| steps | No | How many shades to move (default 1) | |
| doc_id | Yes | Document id | |
| region | No | Region: exactly one of 'rect', 'pixels', or 'selection' | |
| render | No | Include a render of the change (default true) | |
| direction | Yes |