FANDOM



WoW API < ToggleCharacter
Icon-information-22x22This function is implemented by FrameXML in [DEPRECATED http://wowprogramming.com/utils/xmlbrowser/live/FrameXML/CharacterFrame.lua FrameXML/CharacterFrame.lua].


ToggleCharacter(frameName);

Toggles the character pane to the specified frame.


Parameters

Arguments

frameName 
String- The frame to toggle on or off

known frame names are as follows;

PaperDollFrame, PetPaperDollFrame, SkillFrame, ReputationFrame, TokenFrame

Returns

nil

Example

/script ToggleCharacter("PVPFrame")

or

/script ToggleCharacter("SkillFrame");

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