# HotkeyScopesState

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [hotkey-manager.ts:522](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-manager.ts#L522)

Active hotkey scopes, published on `HotkeyManager.scopes`.

## Properties

### active

```ts
active: readonly string[];
```

Defined in: [hotkey-manager.ts:527](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-manager.ts#L527)

Activated scopes, lowest precedence first. `'global'` is always active
and not listed.

***

### allowed

```ts
allowed: readonly string[];
```

Defined in: [hotkey-manager.ts:534](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-manager.ts#L534)

Scopes the exclusive scope allows that are active, possibly including
`'global'`. Empty when no scope is exclusive.

***

### characterKeysSuspended

```ts
characterKeysSuspended: boolean;
```

Defined in: [hotkey-manager.ts:545](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-manager.ts#L545)

Whether character key shortcuts, such as `K` or `Shift+/`, are suspended
by `suspendCharacterKeys`. Hotkeys on an element other than the body or the
root element are not suspended.

***

### exclusive

```ts
exclusive: string | null;
```

Defined in: [hotkey-manager.ts:529](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-manager.ts#L529)

The exclusive scope that owns the keyboard, or `null` when none is active.

***

### suspended

```ts
suspended: readonly string[];
```

Defined in: [hotkey-manager.ts:539](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-manager.ts#L539)

Scopes that are active but cannot fire because another scope is
exclusive, possibly including `'global'`.
