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
LoadPalette
app.command.LoadPalette {
ui=bool,
filename=string
preset=string
}
Loads a palette from the given preset or filename.
ui: Shows the file picker dialog withfilenamepre-completed,trueby default. Set tofalseto loadfilenamedirectly without user confirmation.filename: A path to a supported palette or file to extract a palette from, optional.preset: The name of a palette preset,"default"resets the palette to default. If set,filenameis ignored.