WoW:API Minimap GetZoom: Difference between revisions
Jump to navigation
Jump to search
(initial description) |
m (Move page script moved page API Minimap GetZoom to API Minimap GetZoom without leaving a redirect) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{widgetmethod}} | |||
This function obtains current zoom level of the Minimap. | This function obtains current zoom level of the Minimap. | ||
Line 15: | Line 17: | ||
---- | ---- | ||
;''Example'' | ;''Example'' | ||
local | local zoom = Minimap:GetZoom() | ||
---- | ---- | ||
Line 21: | Line 23: | ||
: 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. | : 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. | ||
Latest revision as of 04:46, 15 August 2023
← Widget API ← Minimap < GetZoom
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 zoom = 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.