FANDOM


WoW API < GetActiveTalentGroup

Returns the index of the current active talent group.

local index = GetActiveTalentGroup(isInspect, isPet);

Parameters Edit

Arguments Edit

isInspect 
Boolean - If true returns the information for the inspected unit instead of the player.
isPet 
Boolean - If true returns the information for the inspected pet.

Returns Edit

index 
The index of the current active talent group (1 for primary / 2 for secondary).

Patch changes Edit

Template:Patch 5.0.4

See also Edit

Community content is available under CC-BY-SA unless otherwise noted.