IsKeyPressed($key) Wrapper around the GetAsyncKeyState API function. Returns TRUE if the user presses the specified key. IsKeyPressed("ESC"); IsKeyPressed("A"); IsKeyPressed("DOWN");