# Pausado en capa

Unas macros muy útiles y que normalmente podemos obtener de Mainsail son sus macros de pausado en capa:

{% embed url="<https://gist.github.com/alienboyxp/1cc0e0f0006bed2f22d17846a276db60>" %}

Añadiendo estas macros obtendremos interesantes funciones para el pausado en capa para realizar ciertas acciones que no se puedan realizar mediante el laminador o simplemente porque se nos olvidaron aplicarlas al laminar:

* SET\_PAUSE\_NEXT\_LAYER, que indicando como parámetro la macro que queramos ejecutar nos pausará la impresión en el siguiente cambio de capa

<figure><img src="/files/6nUJK3OzDAwmjBZMHeFV" alt=""><figcaption></figcaption></figure>

* SET\_PAUSE\_AT\_LAYER, podremos indicar en que capa queremos que se ejecute la pausa

<figure><img src="/files/1RJYkIYCd68M3NBjqK56" alt=""><figcaption></figcaption></figure>


---

# 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://klipper.3dwork.io/klipper/mejoras/macros-mejoras/pausado-en-capa.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.
