Topic: version 4 MAXScript Language Improvements /User Interface
keyboard const StructDef
A new keyboard key-state system variable, keyboard.escPressed. Read-only variable yields true or false depending on whether the Esc key is currently pressed.
See also
Keyboard Entry
3ds max System Globals