WoW API: ToggleCharacter

Revision as of 23:47, 16 May 2020 by Bear (talk | contribs)

WoW API < ToggleCharacter

"I" iconThis function is implemented in Lua here 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");