WoW API: ToggleCharacter

Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API ToggleCharacter to API ToggleCharacter without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < ToggleCharacter

"I" iconThis function is implemented in Lua here FrameXML/CharacterFrame.lua.
ToggleCharacter(frameName);

Toggles the character pane to the specified frame.

ParametersEdit

ArgumentsEdit

  • frameName (string) - The frame to toggle on or off
    • known frame names are as follows: - PaperDollFrame, PetPaperDollFrame, SkillFrame, ReputationFrame, TokenFrame

ReturnsEdit

  • nil

ExampleEdit

/script ToggleCharacter("PVPFrame")

or

/script ToggleCharacter("SkillFrame");