Can you invert sprite colors via scripting?

Is it possible to invert a sprite layer via scripting, and if so, optionally copy the inverted sprite to a new layer? Let me know, and thanks!

try to app.command.DuplicateLayer and then app.command.InvertColor

2 Likes

Thank you Olga, that helps immensely! And thanks for pointing me towards app.command - that will definitely help me with my current project.

1 Like