bitburner-src/markdown/bitburner.singularity.gotolocation.md

33 lines
666 B
Markdown
Raw Normal View History

<!-- 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; [goToLocation](./bitburner.singularity.gotolocation.md)
## Singularity.goToLocation() method
2022-01-16 00:39:37 +01:00
Go to a location.
<b>Signature:</b>
```typescript
goToLocation(locationName: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| locationName | string | Name of the location. |
<b>Returns:</b>
boolean
True if the player was moved there, false otherwise.
## Remarks
2022-01-16 00:39:37 +01:00
RAM cost: 5 GB \* 16/4/1
Move the player to a specific location.