bitburner-src/markdown/bitburner.singularity.setfocus.md
Olivier Gagnon 1b680431b6 regen doc
2021-12-16 12:59:11 -05:00

31 lines
559 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [setFocus](./bitburner.singularity.setfocus.md)
## Singularity.setFocus() method
SF4.2 - Set the players focus.
<b>Signature:</b>
```typescript
setFocus(focus: boolean): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| focus | boolean | |
<b>Returns:</b>
boolean
True if the focus was changed.
## Remarks
RAM cost: 0.1 GB