Tidy Tile Mapper‎ > ‎Runtime API‎ > ‎BlockUtilities‎ > ‎


Returns the highest depth (z-layer value in Blocks) of the targetted BlockMap.

Depth is an interesting thing, as maps can have negative depth (< 0) as well as positive depth (>= 0).

This is best demonstrated when you use the 'Add Layer' tool. It's turtles, all the way down!


Return value Description
int The highest depth that is currently populated in this BlockMap - measured in Blocks.

Argument DataType Description
map BlockMap     The BlockMap from which to retrieve the highest depth.