2021-10-30 12:34:14 -04: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-15 18:39:37 -05:00
Travel to another city.
2021-10-30 12:34:14 -04:00
< b > Signature:< / b >
```typescript
2021-11-03 00:27:21 -04:00
travelToCity(city: string): boolean;
2021-10-30 12:34:14 -04:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-11-03 00:27:21 -04:00
| city | string | City to travel to. |
2021-10-30 12:34:14 -04:00
< b > Returns:< / b >
boolean
True if actions is successful, false otherwise.
## Remarks
2022-01-15 18:39:37 -05:00
RAM cost: 2 GB \* 16/4/1
2021-11-03 00:27:21 -04: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.