Feedback
- press ENTER to search or ESC to cancel
Table of content
Globals namespaces
Constants
- Align
- AniDir
- BlendMode
- BrushPattern
- BrushType
- ColorMode
- FilterChannels
- FlipType
- Ink
- MouseButton
- MouseCursor
- RangeType
- SelectionMode
- SpriteSheetDataFormat
- SpriteSheetType
- TilemapMode
- TilesetMode
- WebSocketMessageType
Classes/objects
- Brush
- Cel
- Color
- ColorSpace
- Dialog
- Editor
- Events
- Frame
- GraphicsContext
- Grid
- Image
- ImageSpec
- KeyEvent
- Layer
- MouseEvent
- Palette
- Plugin
- Point
- Properties
- Range
- Rectangle
- Selection
- Site
- Size
- Slice
- Sprite
- Tag
- Tile
- Tileset
- Timer
- Tool
- TouchEvent
- Version
- Uuid
- WebSocket
- Window
MoveMask
app.command.MoveMask {
target=string,
wrap=bool,
direction=string,
units=string,
quantity=int
}
Moves the selection boundaries or its content (pixels).
target(string): must be'boundaries'to modify selection boundaries only or'content'to modify the selection content (active cel pixels)
wrap:trueorfalse, when true it does the Edit > Shift effect, were pixels from one side in will appear from the other side (so the content is shifted and pixels wrapped, so the selection boundaries is not moved at all, only pixels inside it)direction: The selection will be moved to a specific direction, can be"left","right","up"or"down".units: The unit to use forquantity. Can be"pixel","tile-width","tile-height""zoomed-pixel","zoomed-tile-width","zoomed-tile-height","viewport-width","viewport-height".quantity: the number ofpixels, ortile-widths, etc. to move the selection to the givendirectiondepending on theunits.