Map:pixel_height
Returns the height of the map in pixels.
Usage
Returns
| Name | Type | Description |
height | number | Map height in pixels. |
Examples
local map = crystal.assets.get("assets/maps/forest.lua");
local area = map:pixel_width() * map:pixel_height();
print(area);