Checking If Console Is Open

Hey i just had a quick question, is it possible to check if one of two things:

  1. if console is open or not
  2. if i have pressed the ~ key

please reply, thanks

**[Input.IsKeyDown

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Input.IsKeyDown)**

Theres no KEY_ enumeration for tilde key.
None that i can find anyway

HUDPaint stops being called when the menu is opened. This doesn’t guarantee that the console is open. It’s possible that vgui.GetKeyboardFocus might return the console’s TextEntry panel when the console is open.

You can do it with gmcl_extras.dll but this is only useful if its purely for you and not other clients

You can do it but you need each client to download a binary module.

Do you not read a thread before you post?