map.Width
Return the width of the current map in tiles.
Syntax
map.Width
Parameters
This command takes no parameters.
Returns
Width of map in tiles.
About
You can get the number of horizontal and vertical tiles in your map with map.Width
and map.Height
.
mapsize := map.Width * map.Height