Garry's Mod Wiki

input.IsMouseDown

  boolean input.IsMouseDown( number mouseKey )

Description

Gets whether a mouse button is down

Arguments

1 number mouseKey
The key, see MOUSE enum

Returns

1 boolean
Is the key down