WoW:API IsAltKeyDown: Difference between revisions

m ({{wowapi}})
(#redirect API IsShiftKeyDown)
Line 1: Line 1:
{{wowapi}}
#redirect [[API IsShiftKeyDown]]
Returns true if the alt key is currently pressed.
 
IsAltKeyDown();
 
----
;''Arguments''
 
:''none''
 
----
;''Returns''
 
:;Boolean : 1 (true) if ALT is currently being held down, nil otherwise.
 
----
;''Example''
  if ( IsAltKeyDown() ) then DoSomething(); end
 
;''Result''
1 | nil
Anonymous user