Type Boolean Event mouse Revision Release 2020.3606 Keywords mouse, isAltDown
Indicates if the alt button was held down at the time the mouse event occurred.
-- Called when a mouse event has been received. local function onMouseEvent( event ) if event.isAltDown then -- The alt button is currently pressed down. else -- The alt button is not being pressed. end end -- Add the mouse event listener. Runtime:addEventListener( "mouse", onMouseEvent )