I’d recommend starting with the Aseprite API documentation as well as looking through script examples. ✌️