tmNeighbourY

Category: Tilemap — Map shapes

Syntax:

tmNeighbourY:Int(map:Int, x:Int, y:Int, direction:Int)


Parameters

Returns

The cell's y.



Summary

Gets the row of the cell next to this one, as for tmNeighbourX.

See the Tilemaps guide.



Example
ny = tmNeighbourY(map, x, y, 1)

BambooBasic © 2026 Michael Denathorn