WoW API: ToggleSheath

From AddOn Studio
Jump to navigation Jump to search

WoW API < ToggleSheath

Toggles sheathed or unsheathed weapons.

ToggleSheath();

Parameters

Arguments

none

Returns

nil

Example

This asks whether the variable msg is equal to true, then toggles sheath.
if (msg == true) then
  ToggleSheath();
end