2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Singularity ](./bitburner.singularity.md ) > [travelToCity ](./bitburner.singularity.traveltocity.md )
## Singularity.travelToCity() method
2022-01-16 00:39:37 +01:00
Travel to another city.
2021-10-30 18:34:14 +02:00
< b > Signature:< / b >
```typescript
2021-11-03 05:27:21 +01:00
travelToCity(city: string): boolean;
2021-10-30 18:34:14 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-11-03 05:27:21 +01:00
| city | string | City to travel to. |
2021-10-30 18:34:14 +02:00
< b > Returns:< / b >
boolean
True if actions is successful, false otherwise.
## Remarks
2022-01-16 00:39:37 +01:00
RAM cost: 2 GB \* 16/4/1
2021-11-03 05:27:21 +01:00
This function allows the player to travel to any city. The cost for using this function is the same as the cost for traveling through the Travel Agency.