WoW:API IsAltKeyDown: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
m (Move page script moved page API IsAltKeyDown to 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

Latest revision as of 04:46, 15 August 2023

Redirect to: