# void ChangeMap(str, str)

[Family: Global](/en/CKS/familias/global/)

## Exact signature

```text
void ChangeMap(str, str)
```

## Description

Changes to the map whose map.xml name matches the first string. If several maps share a name, the first folder in string order is used.

## Usage notes

The first string is the map name, not the folder number. If no map has that name, "ChangeMap: No map is named …" is logged and nothing changes. The second string is not documented here.

## Parameters and return type

**Return type:** `void`

| Position | Type |
| --- | --- |
| 1 | `str` |
| 2 | `str` |

## Read and share

- [Markdown](/exports/en/cks/api-c41e71ac2fdd24.md)
- [JSON](/CKS/api/entries/api-c41e71ac2fdd24?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
