# useHotkeyScopesState

```ts
function useHotkeyScopesState(): HotkeyScopesState;
```

Defined in: [useHotkeyScopesState.ts:9](https://github.com/TanStack/hotkeys/blob/main/packages/octane-hotkeys/src/useHotkeyScopesState.ts#L9)

Reads the hotkey manager's scope state: the active scopes, the exclusive
scope that owns the keyboard, and the scopes it allows or suspends.

## Returns

`HotkeyScopesState`
