Returns a boolean indicating whether the ALT key is depressed.
keydown_state = IsAltKeyDown()
Parameters[ | ]
Arguments[ | ]
- none
Returns[ | ]
- true/false - boolean value if the ALT key is in the down state.
Example[ | ]
if (IsAltKeyDown()) then
CastSpellByName("Flame");
else
CastSpellByName("Fireball");
end