Scripting Tools

I already really enjoy writing some lua scripts for more complex features but it would be super useful if there were some exposed functions for calling on tool behavior, or even tool objects that could be manipulated to accomplish more complex tasks like flood fill, oval or rectangle. I’ve helped someone else sharpen a script that clearly benefits from a flood fill and even then, it’s obvious that a true paint bucket tool would be so much better for the task.

1 Like

In the final Aseprite v1.2.10 there will be an app.useTool() function, you can see a preview of the next API here: