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
Tileset
Tileset.name
Tileset.grid
Tileset.baseIndex
Tileset.color
Tileset.data
Tileset.properties
Access user-defined and extension-defined properties of this tileset.
Tileset:tile()
local tile = ts:tile(index)
Returns the tile in the given index (0
is the empty
tile, so 1
is the first user-defined tile).
Tileset:getTile()
local tileImage = ts:getTile(index)
Returns the image of tile in the given index (0
is the empty tile,
so 1
is the first user-defined tile).
Note: This method was superseded with Tileset:tile(), so you can use the following alternative:
local tileImage = ts:tile(index).image