Clarify comment in manual entry for getTilePixels

This commit is contained in:
GriffinR 2022-01-03 21:49:41 -05:00 committed by huderlem
parent 47e3d809ff
commit 0b5414ace3

View file

@ -1116,7 +1116,7 @@ The following functions are related to tilesets and how they are rendered. The f
..js:function:: map.getTilePixels(tileId)
Gets the pixel data for the specified tile. The pixel data is an array of numbers indicating which palette color each pixel uses. Tiles are 8x8, so the pixel array will be 64 elements long.
Gets the pixel data for the specified tile. The pixel data is an array of indexes indicating which palette color each pixel uses. Tiles are 8x8, so the pixel array will be 64 elements long.
:returns array: the pixel data