Skip to content

Instantly share code, notes, and snippets.

@dacap dacap/MoveMask Test.lua
Last active Jul 11, 2019

Embed
What would you like to do?
MoveMask test
local spr = app.activeSprite
spr.selection = Selection(Rectangle(0,0,spr.width,spr.height))
app.command.MoveMask{
target='content',
direction='right',
units='pixel',
quantity=2,
wrap=true
}
app.command.MoveMask{
target='content',
direction='up',
units='pixel',
quantity=2,
wrap=true
}
app.command.DeselectMask()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.