We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0be7c0c commit 9d1124eCopy full SHA for 9d1124e
api/range.md
@@ -95,6 +95,22 @@ Example to select the colors with index 0 and 3 in the color bar:
95
app.range.colors = { 0, 3 }
96
```
97
98
+## Range.tiles
99
+
100
+```lua
101
+local selectedTiles = app.range.tiles
102
+app.range.tiles = { ... }
103
+```
104
105
+Gets or sets the array of selected tile entries in the [color bar](https://www.aseprite.org/docs/color-bar/)
106
+when we are in a [tilemap layer](https://www.aseprite.org/docs/tilemap/).
107
+Each element of the array is an integer (the tile index).
108
109
+Example to select tiles with index 0 and 3 in the color bar:
110
111
+app.range.tiles = { 0, 3 }
112
113
114
## Range.slices
115
116
```lua
0 commit comments