WoW:API IsAltKeyDown: Difference between revisions

m
Move page script moved page API IsAltKeyDown to WoW:API IsAltKeyDown without leaving a redirect
m ({{wowapi}})
m (Move page script moved page API IsAltKeyDown to WoW:API IsAltKeyDown without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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