# activateHotkeysProviderScope

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

```ts
function activateHotkeysProviderScope(key): () => void;
```

Defined in: [adapter.ts:469](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/adapter.ts#L469)

Activates the scope described by a key from `getHotkeysProviderScopeKey`.
Returns a function that releases the activation.

## Parameters

### key

`string`

## Returns

() => `void`
