Minimap:GetZoom

From Warcraft Wiki
Jump to navigation Jump to search

Returns the current zoom level of the Minimap.

zoomFactor = Minimap:GetZoom()

Returns

zoomFactor
number - The current zoom level. Possible levels are 0 through to Minimap:GetZoomLevels() - 1

Details

  • The default minimap currently has six zoom levels: 0, 1, 2, 3, 4 and 5 with 0 being the smallest and 5 being the largest.