tmObjectY

Gets an object's y position in the world, as for tmObjectX. Takes map (The map's handle), layerName (The name of the object layer in Tiled), index (Which object in the layer, from 0). Returns: The y position, in pixels.

Tilemap

Parameters & Returns

Parameters

map Int
layerName String
index Int

Returns

Int

Quick Summary

Gets an object's y position in the world, as for tmObjectX. Takes map (The map's handle), layerName (The name of the object layer in Tiled), index (Which object in the layer, from 0). Returns: The y position, in pixels.

Technical Exegesis...

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

See the Tilemaps guide.

Returns: The y position, in pixels.

Example

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