tmObjectY

Category: Tilemap — Objects

Syntax:

tmObjectY:Int(map:Int, layerName:String, index:Int)


Parameters

Returns

The y position, in pixels.



Summary

Gets an object's y position in the world, as for tmObjectX.

See the Tilemaps guide.



Example
y = tmObjectY(map, "things", i)

BambooBasic © 2026 Michael Denathorn