WoW API: ToggleCharacter

From AddOn Studio
Jump to navigation Jump to search

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[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");