[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [setFocus](./bitburner.singularity.setfocus.md)
## Singularity.setFocus() method
Set the players focus.
Signature:
```typescript
setFocus(focus: boolean): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| focus | boolean | |
Returns:
void
## Remarks
RAM cost: 0.1 GB
Singularity - Level 2