Garry's Mod Wiki

input.IsKeyTrapping

  boolean input.IsKeyTrapping()

Description

Returns whether key trapping is activate and the next key press will be captured.

Returns

1 boolean
Whether key trapping active or not