WoW:API IsAltKeyDown: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Corrected return values)
m ({{wowapi}})
Line 1: Line 1:
<center>'''IsAltKeyDown''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
Returns true if the alt key is currently pressed.
Returns true if the alt key is currently depressed.


  IsAltKeyDown();
  IsAltKeyDown();
Line 13: Line 12:
;''Returns''
;''Returns''


:;Boolean
:;Boolean : 1 (true) if ALT is currently being held down, nil otherwise.


----
----
Line 21: Line 20:
;''Result''
;''Result''
  1 | nil
  1 | nil
----
;''Description''
: Returns true if the alt key is currently depressed.
----
{{Template:WoW API}}

Revision as of 12:31, 18 June 2006

WoW API < IsAltKeyDown

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