Hi, the following code should set the first palette color to semi-transparent red (alpha=128) but it sets just full opaque red. I tested other colors and palette indexes and it looks like setColor functions ignores alpha value of color.
Tested in Aseprite v1.2.16.3-x64, installed from Humble bundle distribution.
local spr = app.activeSprite
if not spr then return app.alert("There is no active sprite.") end
app.transaction(
function()
local palette = spr.palettes[1]
palette:setColor(0, Color{h = 0, s = 1, v = 1, a = 128})
end
)
app.refresh()