mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 01:23:49 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
31 lines
561 B
Markdown
31 lines
561 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [setFocus](./bitburner.singularity.setfocus.md)
|
|
|
|
## Singularity.setFocus() method
|
|
|
|
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 \* 16/4/1
|
|
|