# GetRawLastKey

## Description

Returns the key code of the last key pressed. This only applies to platforms with a full sized keybboard such as PC and Mac. You can check if a keyboard exists by using GetKeyboardExists. This function continue to return the last key pressed even when the key has been released. Check out the scan codes page in the guides section of the help files to see which key matches which key code

## Definition

integer GetRawLastKey( )

int agk::GetRawLastKey( )