Brush ink tool shorcut?

I’ve seen that you can choose shortcuts for a special ink tool brush option, but my question is if it’s possible to assign any way to just press a shortcut to act like a next/previous ink type?

No there is no way to do that unfortunately.

I was trying to create a couple of scripts to do this but I’ve found a bug that makes this impossible to do even with scripts. I’ll release a fix on v1.2.22 and then comment here with a couple of scripts to do this ASAP.

2 Likes

Now with Aseprite v1.2.22 we can create these two scripts to cycle ink types:

PrevInk.lua

if app.apiVersion < 12 then return app.alert "You need Aseprite >= v1.2.22" end

local toolPref = app.preferences.tool(app.activeTool)
if toolPref.ink > 0 then
  app.command.SetInkType{ type=toolPref.ink-1 }
else
  app.command.SetInkType{ type=4 }
end

NextInk.lua

if app.apiVersion < 12 then return app.alert "You need Aseprite >= v1.2.22" end

local toolPref = app.preferences.tool(app.activeTool)
if toolPref.ink < 4 then
  app.command.SetInkType{ type=toolPref.ink+1 }
else
  app.command.SetInkType{ type=0 }
end
1 Like