[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [travelToCity](./bitburner.singularity.traveltocity.md)
## Singularity.travelToCity() method
Travel to another city.
Signature:
```typescript
travelToCity(city: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| city | string | City to travel to. |
Returns:
boolean
True if action is successful, false otherwise.
## Remarks
RAM cost: 2 GB \* 16/4/1
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.