Wikia

WoWWiki

API ToggleCharacter

Talk0
101,536pages on
this wiki


WoW API < ToggleCharacter
Icon-information-22x22This function is implemented by FrameXML in FrameXML/CharacterFrame.lua.


ToggleCharacter(frameName);

Toggles the character pane to the specified frame.


Parameters Edit

Arguments Edit

frameName 
String- The frame to toggle on or off

known frame names are as follows;

PaperDollFrame, PetPaperDollFrame, SkillFrame, ReputationFrame, TokenFrame

Returns Edit

nil

Example Edit

/script ToggleCharacter("PVPFrame")

or

/script ToggleCharacter("SkillFrame");

Around Wikia's network

Random Wiki