mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +01:00
33 lines
785 B
Markdown
33 lines
785 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [goToLocation](./bitburner.singularity.gotolocation.md)
|
|
|
|
## Singularity.goToLocation() method
|
|
|
|
Go to a location.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
goToLocation(locationName: LocationName | `${LocationName}`): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| locationName | [LocationName](./bitburner.locationname.md) \| \`${[LocationName](./bitburner.locationname.md)<!-- -->}\` | Name of the location. |
|
|
|
|
**Returns:**
|
|
|
|
boolean
|
|
|
|
True if the player was moved there, false otherwise.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 5 GB \* 16/4/1
|
|
|
|
Move the player to a specific location.
|
|
|