Map Polygon X

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

Syntax

x = Map Polygon X (polygonIndex)

Description

x is the left most position (in tiles) of the polygon polygonIndex.

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


Table of contents