The [_CAPSLOCK (function)](_CAPSLOCK-(function)) function returns the current state of the Caps Lock key as on (-1) or off (0).

## Syntax

> keyStatus%% = [_CAPSLOCK (function)](_CAPSLOCK-(function))

## Availability

* Version 1.4 and up.
* [Keywords currently not supported](Keywords-currently-not-supported-by-QB64).

## See Also

* [_NUMLOCK (function)](_NUMLOCK-(function)), [_SCROLLLOCK (function)](_SCROLLLOCK-(function))
* [_CAPSLOCK](_CAPSLOCK) (statement), [_NUMLOCK](_NUMLOCK) (statement), [_SCROLLLOCK](_SCROLLLOCK) (statement)
