WoW:API Minimap GetZoom

From AddOn Studio
Revision as of 02:27, 28 October 2005 by WoWWiki>Jbcc (initial description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function obtains current zoom level of the Minimap.

Minimap:GetZoom()

Arguments
none

Returns
zoom
current zoom level, possible levels are 0 through Minimap:GetZoomLevels()

Example
local x, y = Minimap:GetZoom()

Description
Obtains the Minimap's current zoom level. The default minimap currently has zoom levels 0, 1, 2, 3, 4, 5 with 0 being the smallest and 5 being the largest.

Go to World of Warcraft Widget API
Go to Interface Customization

Template:WoW API