WoW API: ShowHelm

WoW API < ShowHelm

Enables or disables display of your helm.

ShowHelm(flag);

Parameters

Arguments

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

Example
/script if not ShowHelm(true) then ShowHelm(false) else ShowHelm(true) end;
Result

Toggles displaying your helm.