14 lines
262 B
Lua
14 lines
262 B
Lua
|
local sprt = require "abase-sprite"
|
||
|
|
||
|
-- recolors all layers in the current sprite
|
||
|
local function RecolorLayers()
|
||
|
for i, layer in ipairs(app.sprite.layers) do
|
||
|
sprt.setColor(layer)
|
||
|
end
|
||
|
end
|
||
|
|
||
|
|
||
|
local export = {
|
||
|
RecolorLayers = RecolorLayers,
|
||
|
}
|
||
|
return export
|