WoW:API ShowHelm: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(cat)
m (Move page script moved page API ShowHelm to API ShowHelm without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
----
----
;''Example''
;''Example''
  /script if not ShowHelm(true) then ShowHelm(false) else ShowHelm(true) end;
  /run ShowHelm(not ShowingHelm())


;''Result''
;''Result''
Toggles displaying your helm.
Toggles displaying your helm.

Latest revision as of 04:47, 15 August 2023

WoW API < ShowHelm

Enables or disables display of your helm.

ShowHelm(flag);

Parameters[edit]

Arguments[edit]

(flag)
flag
Boolean - true, helm is shown. false or nil, helm is not shown.

Example
/run ShowHelm(not ShowingHelm())
Result

Toggles displaying your helm.