# Tilemap layer's operations

### New tilemap layer

<figure><img src="/files/UfgC7LDS6lEKVI9HBUyv" alt="" width="375"><figcaption></figcaption></figure>

Tapping on the New Tilemap Layer will bring up a dialog like in the screenshot. Here we can configure our new tilemap layer.

We'll have to choose the tileset. An artwork can contain many tilesets, we can pick an existing one or create a new one.&#x20;

A few notes:

* We can import existing external tilesets, they can be .pxts or image files
* Convert selected layer: check this option if you want to convert the current selected layer into a tilemap layer
* Only selected area: convert only the selected area, ignore the rest of the selected layer
* Keep arrangement: auto assign the tiles to the new tilemap so that it has the same content as the current selected layer.
* Allow duplicate and empty: Whether the new tileset will keep all empty and duplicate tiles or only keep 1 for duplicates

[Read more about tileset >](/misc/tilemap-tileset-system.md)

### Duplicate tilemap layer(s), alpha lock, and content copy/cut

We do these operations the same way we do them with regular layers:

* [Duplicate](/timeline-and-layers/layer-operations/regular-layers-operations.md#duplicate-layer-s)
* [Alpha lock](/timeline-and-layers/layer-operations/regular-layers-operations.md#alpha-lock)
* [Copy/cut](/timeline-and-layers/layer-operations/regular-layers-operations.md#content-copy-cut)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pixquare.art/timeline-and-layers/layer-operations/tilemap-layers-operations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
