Aseprite API Reference Overview
mainThe Aseprite API is organized into several categories. Use these to navigate the available automation surface:
Global Namespace
Includes core modules like app, app.clipboard, app.command, app.fs, app.os, app.pixelColor, app.theme, and json.
Constants
Enumerations for controlling behavior, such as Align, BlendMode, ColorMode, SelectionMode, BrushType, and TilemapMode.
Classes and Objects
Main data structures and entities including Sprite, Layer, Cel, Frame, Image, Palette, Tag, Slice, Dialog, and Plugin.
Lua Libraries
In addition to the Aseprite API, you have access to standard Lua libraries for string manipulation, math, tables, and coroutines. Note that some os and io functions (like os.execute or io.open) may trigger user permission prompts.