<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`View`](View) › [`scope`](View/scope)
## View.scope property
Assign an optional scope to your view to register hotkeys for when the view is in focus.
**Signature:**
```typescript
scope: Scope | null;
```
## Example
```ts
this.scope = new Scope(this.app.scope);
```
null
1.5.7