Aseprite Type Definition

April 21, 2026 ยท View on GitHub

Demo of suggest in VSCode

A lua type definition for Aseprite API based on lua-language-server. The supported API version is 40 (since Aseprite version `v1.3.18-beta2)

The API types are defined in ./definitions/aseprite.lua. You can integrate them into your workspace by copying the file, cloning the repository, or adding it as a Git submodule.

It is strongly recommended that Cast Number to Integer be turned off in settings.