tmTileCentreY

Category: Tilemap

Syntax:

tmTileCentreY:Int(map:Int, x:Int, y:Int)


Parameters

Returns

Int



Summary

Gets the world y of the middle of a cell, on any shape of map.

Takes map (The map's handle), x (The tile column, from 0), y (The tile row, from 0).

Returns: The world y position.

View detailed documentation online



Example
y = tmTileCentreY(map, cx, cy)

BambooBasic © 2026 Michael Denathorn