Skip to content

Set Mirroring

Mikkel102454 edited this page Oct 6, 2026 · 1 revision

set_mirroring

Set mirroring for subsequent drawing.

Arguments

All listed arguments are required.

Name Type Meaning
mirror integer 0 none; 1 horizontal; 2 vertical; 3 both axes

Example

{
  "cmd": "set_mirroring",
  "args": {
    "mirror": 1
  }
}

Behavior

Changes subsequent pixel mapping, not existing pixels. Mirroring is applied after rotation. Set 0 to disable it. Invalid modes leave the prior setting unchanged.

See Command Reference, Color Palette, and Renderer Notes.

Implementation references

Clone this wiki locally