Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetActiveSpecGroup

From Wowpedia
Jump to: navigation, search

Returns the index of the current active specialization/talent/glyph group.

activeSpec = GetActiveSpecGroup([isInspect])


Boolean - If true returns the information for the inspected unit instead of the player. Defaults to false.


Number - The index of the player's active specialization/talent/glyph group (1 for primary / 2 for secondary).

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Replaced GetActiveTalentGroup.