TileDisplay.cellTransform

From MiniScript Wiki
Jump to navigation Jump to search

Mini Micro version 1.2.2 introduced the ability to transform (flip and/or rotate) individual tiles in a TileDisplay. The value returned by TileDisplay.cellTransform, or given to TileDisplay.setCellTransform, is an integer from 0-7. Values 0-3 rotate the tile in 90° increments. Values 4-7 first flip the tile horizontally, and then rotate it in 90° increments.

CellTransform.png