WoW:API ToggleBag
Opens or closes the specified bag.
ToggleBag(bagNum);
- Arguments
- (Number bagNum)
- bagNum
- The number of which bag you want to toggle open or close
- Returns
- nil
- Example
ToggleBag(2);
- Result
- Description
- Opens or closes the specified bag.