Feedback
- press ENTER to search or ESC to cancel
Table of content
Globals namespaces
Constants
- Align
- AniDir
- BlendMode
- BrushPattern
- BrushType
- ColorMode
- FilterChannels
- Ink
- MouseButton
- MouseCursor
- RangeType
- SelectionMode
- SpriteSheetDataFormat
- SpriteSheetType
- WebSocketMessageType
Classes/objects
- Brush
- Cel
- Color
- ColorSpace
- Dialog
- Editor
- Events
- Frame
- GraphicsContext
- Image
- ImageSpec
- KeyEvent
- Layer
- MouseEvent
- Palette
- Plugin
- Point
- Properties
- Range
- Rectangle
- Selection
- Site
- Size
- Slice
- Sprite
- Tag
- Tile
- Tileset
- Timer
- Tool
- TouchEvent
- Version
- WebSocket
- Window
app.preferences
local value = app.preferences.section.option
app.preferences.section.option = newValue
Gets or sets the given preference option
in the given section
. You
can find valid section
and option
names in the
pref.xml
file.
app.preferences.tool()
local toolPref = app.preferences.tool(tool)
local value = toolPref.section.option
toolPref.section.option = newValue
Returns the preferences of the given tool
.
app.preferences.document()
local docPref = app.preferences.document(sprite)
local value = docPref.section.option
docPref.section.option = newValue
Returns the preferences of the given sprite
.