Map Polygon Y

Gets the top position (in tiles) of the specified polygon in the current map.

Syntax

y = Map Polygon Y (polygonIndex)

Description

y is the top most position (in tiles) of the polygon polygonIndex.

Polygons are not necessarily rectangles. This function simply returns the top most position of the polygon. To test if individual tiles are contained inside the polygon use the function In Map Polygon.


Table of contents