# Alt Key Pressed

Grammar — Alt Key Pressed
FlagsNative | Function

Returns true if the alt key was pressed. Use in response to a “Key Pressed”, “Mouse Clicked” or “Mouse Wheel” event.

Returns — bool

native bool EventKeyAlt();

# Supported triggers

Category: UI / Input

# Examples

# mods/heroesdata.stormmod

UILib.galaxy

// L15621
EventKeyAlt()
// L15716
EventKeyAlt()

# mods/heromods/yrel.stormmod

LibHYRL.galaxy

// L250
EventKeyAlt()
// L344
EventKeyAlt()
// L438
EventKeyAlt()