WoW:API IsAltKeyDown: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
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

Revision as of 10:41, 28 June 2007

Redirect to: