# HGE::Input_GetKey Returns the last key pressed since previous call to frame function.
    int Input_GetKey();
## Return value Returns virtual-key code of last key pressed since previous call to frame function. If no key was pressed, returns 0. For more information see Key codes section. ## Remarks Input_GetKey handles keyboard keys and mouse buttons. The key states are updated outside user's frame function. So don't use Input_GetKey in a loop to wait a key to be pressed, this will result in system hang up. ## Requirements Header: hge.h Import library: hge.lib ## See also Input_GetKeyName, Input_GetKeyState, Input_GetChar, Key codes