tmTileCentreY

Category: Tilemap — Map shapes

Syntax:

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


Parameters

Returns

The world y position.



Summary

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

See the Tilemaps guide.



Example
y = tmTileCentreY(map, cx, cy)

BambooBasic © 2026 Michael Denathorn